Thomas Vandahl <[EMAIL PROTECTED]> schrieb am 09.09.2005 16:28:58:
> 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.
>
Thanks for the hint. I'll fix it today evening.
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]