Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

How will you identify the database with Hibernate?
Hibernate exposes database identity to the application in two ways:
  * The value of the identifier property of a persistent instance.
  * The returned by Session.getIdentifier(Object o)
The Identifier property is special. Its value is the primary key value of the database row represented by the persistent instance.