AW: Criteria.addAscendingOrderByColumn(field) NullPointerEx

2004-01-09 Thread Gerhard Otte
[EMAIL PROTECTED]@.adapter=oracle HTH Gerhard Otte __ mailto:[EMAIL PROTECTED] emediapark GmbH http://www.emediapark.de Tel:+49 (0)941 630804-2 Fax:-9 Hemauerstr.14,93047 Regensburg,Germany -Ursprüngliche Nachricht- Von: Jaya [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 9. Januar

Re: java code generation duplication

2004-01-09 Thread Bogdan Vatkov
I have found what is the problem: ...I have created a model using devaki-nextobjects and somehow there were duplicatied references in the table defintion tag With best regards, Bogdan Vatkov - To unsubscribe, e-mail: [EMAIL

Nullpointer-Exception by Velocity

2004-01-09 Thread Michael Drewitz
Hi, I have this console output (with -debug): BUILD FAILED file:C:/apache/torque-gen-3.1/build-torque.xml:207: Exception thrown by 'generator.parse'. For more information consult the velocity log, or invoke ant with the -debug flag. ... Caused by:

Help required :- Oracle sid 's ??

2004-01-09 Thread Ben Bookey
Dear list, 1) When using oracle with Torque, we have come to the conclusion that when generating the java code, the Oracle service name (SID) is hard-coded into the java code itself. This means that we must re-compile the java classes for each new SID? Can anyone confirm if I am correct with

Re: Help required :- Oracle sid 's ??

2004-01-09 Thread Ekkehard Kraemer
On Fri, 9 Jan 2004 16:15:00 +0100, Ben Bookey [EMAIL PROTECTED] wrote: 1) When using oracle with Torque, we have come to the conclusion that when generating the java code, the Oracle service name (SID) is hard-coded into the java code itself. This means that we must re-compile the java classes

NULLS allowed FOREIGN keys short (SMALLINT) or byte(TINYINT)

2004-01-09 Thread Annapareddy, Reddy (Contractor)
hi! If a table has nulls allowed FOREIGN keys short (SMALLINT) or byte(TINYINT), Torque generating code and initializing these to a default value of 0. where 0(ZERO) is not valid value in foreign keyed table. Causing update constrain conflict since torque using java primitive short/byte. In