I have Object "X" with foreign key to obj "Y"(not null) ... and String blahBlah
some times when i use
.....
x.setBlahBlah("sth");
//if i do not use throw exeption ... see Below
x.setToY(x.getToY());// x.getToX()... is not NULL
dataContext.commitChanges();
.....
please help me ...
Exception: ............
Caused by: org.firebirdsql.jdbc.FBSQLException: GDS Exception 335544466. violation of FOREIGN KEY constraint "INTEG_676" on table "CLAUSES"
at org.firebirdsql.jdbc.FBPreparedStatement.internalExecute(FBPreparedStatement.java:418)
at org.firebirdsql.jdbc.FBPreparedStatement.executeUpdate(FBPreparedStatement.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.firebirdsql.pool.PooledPreparedStatementHandler.invoke(PooledPreparedStatementHandler.java:167)
at org.firebirdsql.pool.$Proxy1.executeUpdate(Unknown Source)
at org.objectstyle.cayenne.access.DataNode.runBatchUpdateAsIndividualQueries(DataNode.java:545)
at org.objectstyle.cayenne.access.DataNode.runBatchUpdate(DataNode.java:453)
at org.objectstyle.cayenne.access.DataNode.performQueries(DataNode.java:313)
at org.objectstyle.cayenne.access.ContextCommit.commit(ContextCommit.java:191)
... 28 more
This archive was generated by hypermail 2.0.0 : Wed Jul 07 2004 - 08:20:15 EDT