March 19th 2008 Archives

Mar 19, 2008

Limitation of Hibernate

Posted by Anandhan Subbiah in Java, Programming Concepts, Technical Articles No comments

First and foremost, Hibernate wants every entity to be identifiable with a primary key. Ideally, it would like this to be a surrogate key (a single column distinct from the fields of the table). Hibernate will accept a primary key that is not a surrogate key. For example, the username column might be used to [...]