Hibernate / Hibernate interview questions II
How objects can be identified in Hibernate?
Object identification can be done in hibernate in following 3 ways.
- Using Object Identity: Using == operator.
- Using Object Equality: Using equals() method.
- Using database identity: Relational database objects can be identified if they represent same row.
More Related questions...