1. Foreign Key Property forum.hibernate.orgSuppose I have this: |
2. proper usage of property-ref - what does foreign-key? forum.hibernate.orgHow can that happen? I define a set of unique attributes with a |
3. Possibility to declare foreign keys for properties forum.hibernate.orgHi, I'm using hibernate 3.3.1.GA with annotation 3.4.0.GA to access a local mysql database. Currently I also use hibernate to create/update my database during program startup by setting the "hibernate.hbm2ddl.auto" property to "update". But unfortunately I have some objects which use only the Integer or Long primary key to reference an associated object - e.g. Code: class A { ... |