> Have you experimented with psql's ON_ERROR_ROLLBACK setting? Thanks for the hint. Seems to be exactly what I want. But is not yet available through JDBC, as far as I see: http://archives.postgresql.org/pgsql-jdbc/2006-07/msg00092.php I'm writing a java framework, so there is no way around JDBC for me. Best regards, Ralf. -- Ralf Wiebicke Software Engineer exedio GmbH Am Fiebig 14 01561 Thiendorf Deutschland Telefon +49 (35248) 80-118 Fax +49 (35248) 80-199 ralf.wiebicke@xxxxxxxxxx www.exedio.com