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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the hibernate Object states

A

Transient:
Persistent:
Detached:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Inheritance in Hibernate

A

Table per sublcass:
Table per Heirarchy:
Table per concrete class:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly