Hassan Abolhassani wrote:

>What is wrong when an exception like below is thrown:
>
>org.apache.torque.TorqueException: ERROR:  product_id_seq.currval is not
>yet defined in this session
>       at org.apache.torque.util.BasePeer.throwTorqueException(BasePeer.java:236)
>       at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:780)
>
>And how it is possible to repair it?
>
You need to tell torque the correct PostgreSQL sequence name to use. See:

http://nagoya.apache.org/wiki/apachewiki.cgi?TorqueProjectPages/PostgreSQLFAQ

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



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

Reply via email to