Using OJB 0.9.9 against Postgres 7.3.1,

When I commit a odmg transaction that results in a constraint violation.
(typically foreignkey or unique constraints) I get the following
exception.

org.odmg.TransactionAbortedException: Batch entry 0
[Ljava.lang.Object;@89cc5e was aborted.

Which unfortunately, is not very descriptive of the underlying problem.
I usually can only diagnose the problem by watching the postgres logs.

Is there a way to get the underlying SQL error?

And a tangential question question:

Why is this referring to a "Batch Entry" even though I have
batch-mode=false in my repository-database.xml?

yuji
----
Yuji Shinozaki                          Computer Systems Senior Engineer
[EMAIL PROTECTED]                       Advanced Technologies Group
(804)924-7171                           Information Technology & Communication
http://www.people.virginia.edu/~ys2n    University of Virginia


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to