Date: 2004-04-15T13:54:42
Editor: SyncMaster <[EMAIL PROTECTED]>
Wiki: DB Torque Wiki
Page: GettingTorqueToWork
URL: http://wiki.apache.org/db-torque/GettingTorqueToWork
I had to correct my english :-)
Change Log:
------------------------------------------------------------------------------
@@ -126,10 +126,10 @@
-- knex
= Torque tells you "IdGenerator for table 'xxx' is null" =
-After creating a Database-Scheme and successfully compiling the sources and creating
the tables, i got the mentions Error-Message. A spent a lot of time to find out what
went wrong. The Sequences where created (i'm using an oracle Database) and everything
seems fine. I put the word "native" in every place where it could make sence to force
the engine to use my sequences but always the same Exception.
+After creating a Database-Scheme and successfully compiling the sources and creating
the tables, i got the mentioned Error-Message. I spent a lot of time to find out what
went wrong. The Sequences were created (i'm using an oracle Database) and everything
seems to be fine. I put the word "native" in every place where it could make sense to
force the engine to use my sequences but always the same Exception appeared.
'Solution:'
-You have to set the "adapter"-value for you Database-Connection. Otherwise the Engine
does not know how to receive the PK. (If you use IDBROKER-Method in your scheme, you
do not need this "adapter"-entry :-/ )
+You have to set the "adapter"-value for you Database-Connection. Otherwise the Engine
does not know how to receive the PK. (If you use IDBROKER-Method in your scheme, you
do not need this "adapter"-entry, but how to know, that you NEED this entry, if you do
not use the ID-Table :-/ )
{{{
torque.database.default=survey_db
torque.database.survey_db.adapter=oracle
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]