openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste BRIAUD -- Novlog <j-b.bri...@novlog.com>
Subject Lack of foreign key constraint
Date Fri, 02 Apr 2010 10:15:05 GMT
Hi,

I just noticed that on the SQL file produced by OpenJPA to install DB schema, there are no
integrity referential constraints.
In other words, on relationship, there is no indication that one column is a foreign key.
primary key are there but not foreign keys.

Is it a problem (I didn't found any issue with that before I noticed) ?
Can I force that to be generated ?

I tested that using MySQL and SqlServer, same behavior : no foreign key constraints generated
in SQL file.
I'm using 2.0 beta 2 and will migrate to beta 3 very soon.

Any idea ?


Mime
View raw message