Scott Eade wrote:
The second time I run the test using PostgreSQL I am getting:

    [junit] org.apache.torque.TorqueException:
org.postgresql.util.PSQLException: ERROR: duplicate key violates unique
constraint "null_value_table_pkey"
    [junit]
    [junit]     at
org.apache.torque.util.BasePeer.throwTorqueException(BasePeer.java:103)
    [junit]     at
org.apache.torque.util.BasePeer.insertOrUpdateRecord(BasePeer.java:626)
    [junit]     at
org.apache.torque.util.BasePeer.doInsert(BasePeer.java:516)
    [junit]     at
org.apache.torque.test.BaseNullValueTablePeer.doInsert(BaseNullValueTablePeer.java:228)
[...]
I doubt if this is showing up in MySQL.

In fact it is. The problem obviously has something to do with the tests dumping and restoring data. For the problem to go away it is sufficient to remove the sql files from the target directory. Hope that helps a bit.

Also: Henning and I are pushing for a JCS release so we can update the
version used for Torque 3.2.

God bless you. It is about time. :-)

Bye, Thomas.


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

Reply via email to