db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pyaar <umadas2...@rediffmail.com>
Subject Torque Runtime errors:-ID_TABLE
Date Mon, 17 Dec 2007 13:24:15 GMT

HI ALL
i am executing the bookstore application using mssql server 2000,torque
3.2,but when i try to execute java com.kazmier.Bookstore the following error
comes


C:\Torque\torque-gen-3.2\bookstore>java com.kazmier.Bookstore
org.apache.torque.TorqueException: The table publisher does not have a
proper en
try in the ID_TABLE
        at org.apache.torque.oid.IDBroker.selectRow(IDBroker.java:802)
        at org.apache.torque.oid.IDBroker.storeIDs(IDBroker.java:652)
        at org.apache.torque.oid.IDBroker.getNextIds(IDBroker.java:419)
        at
org.apache.torque.oid.IDBroker.getIdAsBigDecimal(IDBroker.java:307)
        at org.apache.torque.util.BasePeer.getId(BasePeer.java:559)
        at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:503)
        at
org.apache.torque.BasePublisherPeer.doInsert(BasePublisherPeer.java:2
10)
        at
org.apache.torque.BasePublisherPeer.doInsert(BasePublisherPeer.java:5
56)
        at org.apache.torque.BasePublisher.save(BasePublisher.java:531)
        at org.apache.torque.BasePublisher.save(BasePublisher.java:495)
        at org.apache.torque.BasePublisher.save(BasePublisher.java:475)
        at org.apache.BookStore.main(BookStore.java:34)

compilation is working fine for me.where the problem lies? anybody please
guide
-- 
View this message in context: http://www.nabble.com/Torque-Runtime-errors%3A-ID_TABLE-tp14370290p14370290.html
Sent from the Apache DB - Torque Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message