Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.2
Hi, I've got a problem when I use property-ref attribute. My acse is:
Table 1
ID (PK)
COL_1 (UNIQUE)
COL_2
COL_3
Table 2
ID (PK)
COL_1
COL_4
COL_5
Then, for table 2 i Have:
<many-to-one
name="col1"
class="ar.org.Table1"
property-ref="col1"
column="col_1"
update="true"
insert="true"
cascade="none"
not-null="true"/>
So, when update table 2, hibernate too update table 2. Can someone help me, pls ?