Re: Disable Trigger in Torque?

2004-08-27 Thread Saravana Krishnan Kannan
List" <[EMAIL PROTECTED]> Date: Fri, 27 Aug 2004 18:29:52 +0200 Subject: Disable Trigger in Torque? Hi, thanks again for any reply messages for my Problem. But I was little bit confused about the messages which settings I have to define in my schema.xml. The next step what I have

Disable Trigger in Torque?

2004-08-27 Thread Ferruh Zamangoer
Hi, thanks again for any reply messages for my Problem. But I was little bit confused about the messages which settings I have to define in my schema.xml. The next step what I have done is to test every of your suggestions and I become the following results. First a cut of my database schema: h

Antwort: Re: Antwort: Re: Antwort: AW: Disable Trigger in Torque?

2004-08-27 Thread arne . siegel
>>> Did you look at 3.1.1? I have here --- cut --- --- cut --- <<< You're right, that's also what's stated inside torque-gen-3.1-src.zip. The place I got the (seemingly outdated) information from was http://db.apache.org/torque/generator/database.dtd.txt Regards Arne Siegel

Re: AW: Antwort: Re: Antwort: AW: Disable Trigger in Torque?

2004-08-27 Thread Henning P. Schmiedehausen
"Ferruh Zamangoer" <[EMAIL PROTECTED]> writes: >First thank you for your replys. What I have read in Torque documentation is >that the defaultIdMethod=autoincrement is "deprecated, please use native?? >When I'am using this IdMethod it could be that I become some problems in >later versions of Torq

Re: Antwort: Re: Antwort: AW: Disable Trigger in Torque?

2004-08-27 Thread Henning P. Schmiedehausen
[EMAIL PROTECTED] writes: > >No need for patches. Use the regular Torque distribution. ><<< >Actually the dtd does not allow this: > > name CDATA #IMPLIED > defaultIdMethod (idbroker|native|none) "none" > defaultJavaType (object|primitive) "primitive" > package CDATA #IMPLIED > baseClass

AW: Antwort: Re: Antwort: AW: Disable Trigger in Torque?

2004-08-27 Thread Ferruh Zamangoer
prungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. August 2004 10:31 An: Apache Torque Users List Betreff: Antwort: Re: Antwort: AW: Disable Trigger in Torque? Henning P. Schmiedehausen wrote: >>> Just use No need for patches. Use the regular

Antwort: Re: Antwort: AW: Disable Trigger in Torque?

2004-08-27 Thread arne . siegel
Henning P. Schmiedehausen wrote: >>> Just use No need for patches. Use the regular Torque distribution. <<< Actually the dtd does not allow this: Nevertheless defaultIdMethod="autoincrement" might be accepted by the regular distr; Henning surely knows more about it than me. Arne Siegel

Re: Antwort: AW: Disable Trigger in Torque?

2004-08-26 Thread Henning P. Schmiedehausen
[EMAIL PROTECTED] writes: >Hi Ferruh, >you could patch the class org.apache.torque.adapter.DBOracle in your >project in the following way: Bad idea. >public String getIDMethodType() >{ >return AUTO_INCREMENT; /* was: SEQUENCE */ >} This is just the type of ID generation th

AW: Disable Trigger in Torque?

2004-08-26 Thread Sperlich, Tino
erstag, 26. August 2004 14:45 An: Apache Torque Users List Cc: [EMAIL PROTECTED] Betreff: AW: Disable Trigger in Torque? Hi Bowen, what I forgot to mentoined is that I don't use the sql-scripts which is generated by Torque to create the DB. I've become from a customer a dump file an

Antwort: AW: Disable Trigger in Torque?

2004-08-26 Thread arne . siegel
Kopie: <[EMAIL PROTECTED]>, (Blindkopie: Arne Siegel/PTA_GL/De) Thema: AW: Disable Trigger in Torque? 26.08.2004 14:45

AW: Disable Trigger in Torque?

2004-08-26 Thread Ferruh Zamangoer
gers settings in the Database, I will disable it in Torrque? (Thanks for any help)2 Regards Ferruh -Ursprungliche Nachricht- Von: Robert Bowen [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. August 2004 14:14 An: Apache Torque Users List Betreff: Re: Disable Trigger in Torque?

Re: Disable Trigger in Torque?

2004-08-26 Thread Henning P. Schmiedehausen
Robert Bowen <[EMAIL PROTECTED]> writes: >... What Torque will then do is use the sequences >defined by the database. In order for this to work you >need to tell Torque the name of the sequence for every >table: > >value="apd_acces_id_acces_seq"/> If you omit this, Torque will use "_SEQ" automat

Re: Disable Trigger in Torque?

2004-08-26 Thread Henning P. Schmiedehausen
"Ferruh Zamangoer" <[EMAIL PROTECTED]> writes: >does anybody know if it's possible to disable the trigger mechanism inside >torque. My problem is that I have defined triggers in my Oracle database and >when I'am inserting new Data, the ID(Primary Key) field is increment by >Torque and by my trigge

Re: Disable Trigger in Torque?

2004-08-26 Thread Robert Bowen
You need to set the defaultIdmethod for ALL of your tables to native: ... What Torque will then do is use the sequences defined by the database. In order for this to work you need to tell Torque the name of the sequence for every table: ... This way Torque will call the sequence and assign t

Disable Trigger in Torque?

2004-08-26 Thread Ferruh Zamangoer
Hi, does anybody know if it's possible to disable the trigger mechanism inside torque. My problem is that I have defined triggers in my Oracle database and when I'am inserting new Data, the ID(Primary Key) field is increment by Torque and by my trigger which I have defined. For Example the last va