openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danieldomingues86 <>
Subject Error trying to use @OneToOne two-sided relationship
Date Thu, 10 Feb 2011 22:04:48 GMT


I found a error, trying to use a @OneToOne two-sided relation between

I get this error :
Attempt to set column "TB_SERVICES.CD_USER" to two different values:
(null)"null", (class java.lang.Integer)"55" This can occur when you fail to
set both sides of a two-sided relation between objects, or when you map
different fields to the same column, but you do not keep the values of these
fields in synch.

I tried many things and this is very strange, because this problem just
occurs with @OneToOne mapping. 

Any Clue?
View this message in context:
Sent from the OpenJPA Developers mailing list archive at

View raw message