db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning P. Schmiedehausen" <...@intermeta.de>
Subject Re: Antwort: Re: Antwort: AW: Disable Trigger in Torque?
Date Fri, 27 Aug 2004 13:04:36 GMT
arne.siegel@pta.de writes:


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

Did you look at 3.1.1? I have here

--- cut ---
<!ATTLIST database
  name CDATA #IMPLIED
  defaultIdMethod (idbroker|native|autoincrement|sequence|none) "none"
  defaultJavaType (object|primitive) "primitive"
  package CDATA #IMPLIED
  baseClass CDATA #IMPLIED
  basePeer CDATA #IMPLIED
  defaultJavaNamingMethod (nochange|underscore|javaname) "underscore"
  heavyIndexing (true|false) "false"
>
--- cut ---

I must admin, that I have no idea about 3.2

	Regards
		Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

"Fighting for one's political stand is an honorable action, but re-
 fusing to acknowledge that there might be weaknesses in one's
 position - in order to identify them so that they can be remedied -
 is a large enough problem with the Open Source movement that it
 deserves to be on this list of the top five problems."
                       -- Michelle Levesque, "Fundamental Issues with
                                    Open Source Software Development"

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message