Daily Archives: February 29, 2008

One to One Mappings in Hibernate

Simple One to One using assigned identifiers (meaning you hae to set the id yourself) http://www.xylax.net/hibernate/onetoone.html Using Formula’s in hibernate mappings and some other neat tricks round computed fields http://www.onjava.com/lpt/a/6092 Hibernates Own Reference Documentation http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#mapping-declaration-onetoone … Chapter 7 on associations … Continue reading

Posted in Java | Leave a comment