Hi to all,
I don't understand that: I try to delete a record via JDBC. But I always
get the error SQL7008 with the error code 3. It seems that this has
something to do with journaling, since the table from which I want to
delete has two foreign keys that references two other tables and it is
also referenced by another table. But this shouldn't be a problem, since I
set the commit mode to none (or *none) at all places where this makes
sense: connection.setAutoCommit(true),
connection.setTransactionIsolation(NONE), as a parameter within the url
for the driver, as a SQL-Statement 'set transaction isolation level no
commit'. And the table preferences in the iNavigator says also
commit=*none. Where is the problem? Is a deletion with a normal
SQL-Statement impossible when the table has some references or is
referenced? Maybe I should also mention (but I don't think that this
important) that the table is empty, that no record in the other table does
reference a record in this table and because the table is empty there is
obviously no reference to the other two mentioned tables.
What am I doing wrong?
Must I use journals? Is it not possible without?
Please help me! I don't have any clue where the problem could be.
Thanks,
Robert
--
Erstellt mit M2, Operas revolutionärem E-Mail-Modul:
http://www.opera.com/m2/