openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RamAESIS <>
Subject Element join column data type mismatch
Date Thu, 05 Mar 2009 05:12:46 GMT


I have a table A with column COL1 of type java.lang.Long, i am joining this
in a OneToMany relationship using ElementJoinColumn annotation with COL2 of
table B which is a String data type. OpenJPA is throwing an error while
validating the metadata saying the datatype is incompatible. Is there any
way or workaround to resolve this issue and support implicit type conversion
while joining the columns. Any help is appreciated.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message