on 9/4/01 4:28 PM, "Atul Dambalkar" <[EMAIL PROTECTED]> wrote:
> At 03:35 PM 9/4/01 -0700, you wrote:
>> on 9/4/01 12:01 PM, "Atul Dambalkar" <[EMAIL PROTECTED]> wrote:
>>
>>> I am now using stand-alone Torque for the database table SQL and OM
>>> generation.
>>>
>>> I could generate the Peer classes, with idMethod="idbroker" but if I try to
>>> use "idMethod=native" it fails with the following message:
>>> ===================
>>> Error Line: 39 Row: 57 Msg: Attribute "idMethod" with value "native" must
>>> have a value from the list "(idbroker|autoincrement|sequence|none|null)".
>>> ====================
>>>
>>> Apparently, it looks that, the Torque2.1 release build doesn't seem to
>>> support "native" value. Documentation is a bit confusing. Or do I have to
>>> download a different version?
>>>
>>> -Atul
>>
>> Correct. 2.1 does not support native. It is supported in the CVS version of
>> Torque as it is a new feature.
>
> I did try that with the CVS version, but, CVS version is quite confusing.
> In it's README file it shows directory structure as:
> =============================
> Torque is an Object/Relational persistence layer.
>
> bin/ Temporary directory for building the project.
> build/ Location of Ant build.xml and build.properties files.
> examples/ Example XML Torque schemas that are part of the distribution.
> src/ Location of Java sources and Torque templates.
> xdocs/ Torque documention in Anakia formatted tags.
> ===========================
>
> and in reality, there are no "build" and "bin" directories under
> "jakarta-turbine-torque" module. I hope that's the module for the
> stand-alone version. http://cvs.apache.org/viewcvs/jakarta-turbine-torque/
Yes, it is the future of Torque and is in development. It is currently very
stable however. Patches to improve the documentation are always welcome.
Thanks for volunteering.
> Cool! That's what I am doing now..., Please see my last email. Of-course,
> "native" would have also worked fine for me, as I really wanted to get rid
> of any sequence/auto-increment related stuff.
Well, then use the CVS version if you want 'native'. Otherwise, you are
going to have to wait until our next release.
You can always look at Scarab for an example of how we use the latest
versions of Torque.
<http://scarab.tigris.org/>
thanks,
-jon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]