There needs to be a record in the ID Table for every table that you want the
ID broker to generate a sequence primary key for.

The TDK will generate this SQL file for you based on your schema.xml.  I'm
not sure if the stand-alone version of torque does.  But you should be able
to look at the core schema

http://jakarta.apache.org/turbine/turbine-2/turbine-schema.html

and see what you need in ID Table and write the SQL yourself.

An example to insert a record for the PERSONNEL table (that is currently
empty) and assuming the next available seq# in ID-TABLE is 15 would be.

"Insert into ID_TABLE Values (15,"PERSONNEL",1,10);

Steve

-----Original Message-----
From: impala impala [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 5:23 PM
To: [EMAIL PROTECTED]
Subject: no proper entry in the ID_TABLE


Hi

After creating sql using Torque, I ran my browser to
insert some stuff in the database DEV_GROUP. Then I
got the following error.

java.lang.reflect.InvocationTargetException:
org.apache.turbine.util.TurbineException: The table
DEV_GROUP does not have a proper entry in the ID_TABLE

Can someone PLEASE help me
Thanks
Nico



__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com

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



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

Reply via email to