users@glassfish.java.net

Re: RE: Many to Many bidirectional relationship

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Mar 2007 14:58:39 PST

[b]Sorry i forgot to add... when this method is called i get the following exception[/b]
Local Exception Stack:
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: DELETE on table 'TESTTABLE' caused a violation of foreign key constraint 'STRYTESTTABLETBLID' for key (20). The statement has been rolled back.Error Code: -1
Call:DELETE FROM TESTTABLE WHERE (TABLE_ID = ?)
        bind => [20]
Query:DeleteObjectQuery(sem90.ptm2.fhmp.table.Table[id=20])

[b]Thanks[/b]
[Message sent by forum member 'ptm' (ptm)]

http://forums.java.net/jive/thread.jspa?messageID=206997