db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl <thomas.vand...@tewisoft.de>
Subject Re: Torque test (ex runtimetest)
Date Fri, 09 Sep 2005 14:28:58 GMT
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: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message