db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steffen Mueller <tor...@mueller.ca>
Subject Auto ID Generation with Oracle fails, even with idbroker
Date Mon, 19 Jan 2004 11:49:41 GMT
Here's the error message I get when using idbroker:

org.apache.torque.TorqueException: The table Department does not have a 
proper entry in the ID_TABLE
	at org.apache.torque.oid.IDBroker.selectRow(IDBroker.java:825)
	at org.apache.torque.oid.IDBroker.storeIDs(IDBroker.java:681)
	at org.apache.torque.oid.IDBroker.getNextIds(IDBroker.java:448)
	at org.apache.torque.oid.IDBroker.getIdAsBigDecimal(IDBroker.java:336)
	at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:720)
	at 
de.spiritlink.lqa.om.BaseDepartmentPeer.doInsert(BaseDepartmentPeer.java:212)
	at 
de.spiritlink.lqa.om.BaseDepartmentPeer.doInsert(BaseDepartmentPeer.java:556)
	at de.spiritlink.lqa.om.BaseDepartment.save(BaseDepartment.java:527)
	at de.spiritlink.lqa.om.BaseDepartment.save(BaseDepartment.java:491)
	at de.spiritlink.lqa.om.BaseDepartment.save(BaseDepartment.java:471)
	at de.spiritlink.lqa.web.StandaloneTest.doPost(StandaloneTest.java:44)
	at de.spiritlink.lqa.web.StandaloneTest.doGet(StandaloneTest.java:29)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at 
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
	at com.caucho.server.http.Invocation.service(Invocation.java:315)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
	at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
	at java.lang.Thread.run(Thread.java:534)


---------------------------------------------------------------------
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