openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RamAESIS <>
Subject Regarding automatic type conversion of joincolumns
Date Tue, 24 Feb 2009 07:57:44 GMT


I have a requirement as mentioned below:

Table A has a column COL1 of type VARCHAR2, table B has column COL2 of type
NUMBER. When i provide the COL2 as join column for the @OneToMany
annotations OpenJPA is throwing an exception for type mismatch. Is there any
work around or solution to type cast the join column data? Please help.

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

View raw message