Dear Team,
I looked Hibernate manual and FAQ, tried Google this for long time, but still have abscure picture about this.
1. What does @hibernate.set table="t" mean?
For example in T.java,
* @hibernate.set table = "T" cascade = "all" lazy = "true"
* @hibernate.collection-key column = "tId"
* @hibernate.collection-one-to-many class = "com.my.model.T2"
Does all update apply to table "T" or "T2" (defined in T2.java)?
2. When and how to use @hibernate.set table="T" ? When not?
Any reference or links are really appreciated.
-Bruce
|