top of page

Commonly Use Hibernate Annotation.

@Entity - Use to mark any class as Entity.

@Table - Use to change table details.

@Id - use to mark column in id(primary key).

@GeneratedValue - hibernate will automatically generate value for using internal sequence.

@column - can be used to specify column mapping. for example, to change the column name in the associated table in the database.

@Trensient - this tells hibernate not to save this field.

@Temporal - @Temporal over a date field tells hibernate the format in which data need to be saved.

@Lob - @Lob tells hibernate that this is a large object, not a simple object.

 
 
 

Recent Posts

See All

Comments


MiIT Logo

Company

Contact Us

+1905-487-4880 

5160 Explorer Dr #34, Mississauga,ON L4W 4T7

+1929-743-3199

4466 Buttonwood Ln Lilburn, GA 30047

262 Chapman Rd, STE 240 Newark DE 19702

+44 20 4525 1214

71-75 Shelton Street, Covent Garden, London, United Kingdom WC2H 9JQ

Stay up to date on the latest from MiIT

  • Instagram
  • Facebook
  • http://linkedin.com/company/miittechnologies/about/
  • Whatsapp

© All Content MiIT Technologies Inc.2019 - 2025. All rights reserved.

bottom of page