Hibernate Flashcards
1
Q
What is Hibernate
A
Hibernate lets us go between Java objects and our DB, removing teh need to manually match variables to columns. The two steps of hibernate configuration is through the hibernate.cfg.xml and Mapping with the hbm.xml file and by annotations such as @Entity, @Table and @Column
2
Q
What are the hibernate Object states
A
Transient:
Persistent:
Detached:
3
Q
Inheritance in Hibernate
A
Table per sublcass:
Table per Heirarchy:
Table per concrete class: