openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gopalakrishnan U <gopalakrishn...@gmail.com>
Subject Re: ArrayIndexOutOfBoundsException:0 at org.apache.openjpa.jdbc.sql.DBDictionary.getForeignKeyConstraintSQL(DBDictionary.java:3373)
Date Fri, 08 Aug 2008 09:01:32 GMT


The SQL generated for creating OPENJPASAMPLE.D table is wrong. Here is the
SQL generated for creating the D table CREATE TABLE OPENJPASAMPLE.D (id
INTEGER NOT NULL, C_CID INTEGER, C_CM_CMID INTEGER, C_CM_E_EID INTEGER,
PRIMARY KEY (id)). It is missing fields from VC --< D relation and
corresponding PKs
I think this is causing the problem when it is trying to generate the SQL
for creating FK for the OPENJPASAMPLE.D table.

Opened a JIRA for this issue
https://issues.apache.org/jira/browse/OPENJPA-682.

Gopal
-- 
View this message in context: http://n2.nabble.com/ArrayIndexOutOfBoundsException%3A0-at-org.apache.openjpa.jdbc.sql.DBDictionary.getForeignKeyConstraintSQL%28DBDictionary.java%3A3373%29-tp668199p680224.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message