I am trying to do a delete, and there seems to be a constraint violation.
Fine, but why does it not send an exception to let me know this.
I mean, nothing happens. Not even a warning.
Is there something I need to turn on to find constraint violations as exceptions?
Connection c = DriverManager.getConnection(
PreparedStatement pst = c.prepareStatement("delete from queue where id=?");
None, not a thing.
ERROR: update or delete on "queue" violates foreign key constraint "fkd73c6034ba977309" on "branch_queue"
DETAIL: Key (id)=(850) is still referenced from table "branch_queue".
pgsql-jdbc by date
|Next:||From: Tim Pizey||Date: 2004-03-03 00:10:35|
|Subject: Melati version 0.7.2|
|Previous:||From: Sean Elliott||Date: 2004-03-02 17:07:35|
|Subject: Passing parameters to functions from Java|