db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Lustig" <m...@marclustig.com>
Subject IDBroker /ID_TABLE problem
Date Sun, 12 Jan 2003 22:47:46 GMT
Hi,
I have just set the fields of my BO and tried to save() to create a new row.
Torque complains:

java.lang.reflect.InvocationTargetException:
org.apache.torque.TorqueException: The table MY_TABLE does not have a proper
entry in the ID_TABLE at
org.apache.torque.oid.IDBroker.selectRow(IDBroker.java:803) at
org.apache.torque.oid.IDBroker.storeIDs(IDBroker.java:665) at
org.apache.torque.oid.IDBroker.getNextIds(IDBroker.java:441) at
org.apache.torque.oid.IDBroker.getIdAsBigDecimal(IDBroker.java:329) at
org.apache.torque.util.BasePeer.doInsert(BasePeer.java:702) at

My schema is set to defaultIdMethod="idbroker".
My id_table is completely empty.
What's the problem here?
Can anybody give me a hint?

Marc


Mime
View raw message