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 Torque or ????

Regards
Ferruh

-----Ursprungliche 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

<database name="apdcat" defaultIdMethod="autoincrement">

No need for patches. Use the regular Torque distribution.
<<<

Actually the dtd does not allow this:

<!ELEMENT database (external-schema*, domain*, table+)>
<!ATTLIST database
  name CDATA #IMPLIED
  defaultIdMethod (idbroker|native|none) "none"
  defaultJavaType (object|primitive) "primitive"
  package CDATA #IMPLIED
  baseClass CDATA #IMPLIED
  basePeer CDATA #IMPLIED
  defaultJavaNamingMethod (nochange|underscore|javaname) "underscore"
  heavyIndexing (true|false) "false"
>

Nevertheless defaultIdMethod="autoincrement" might be accepted by the
regular distr; Henning surely knows more about it than me.

Arne Siegel


**********************************************************************
http://www.pta.de
Mit 995 Erfahrungsberichten aus 35 Jahren erfolgreicher Projektarbeit!
**********************************************************************



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


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

Reply via email to