Date: 2004-04-15T13:40:18
Editor: SyncMaster <[EMAIL PROTECTED]>
Wiki: DB Torque Wiki
Page: GettingTorqueToWork
URL: http://wiki.apache.org/db-torque/GettingTorqueToWork
no comment
Change Log:
------------------------------------------------------------------------------
@@ -125,6 +125,18 @@
-- 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.
+
+'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 :-/ )
+{{{
+torque.database.default=survey_db
+torque.database.survey_db.adapter=oracle
+}}}
+
+-- SyncMaster
+
= Getting a Torque application to run from the command line =
This is a listing of the typical problems people have trying to get their first
Torque Application to run.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]