Hello!

I'm interested in xdoclet-ojb module status. I've tried to use it and was a
little bit confused due to a set of errors.

Environment I used:

xdoclet-ojb-module-1.2b3-dev.jar
torque-3.0.2.jar
MsAccess 2002

The goal of my investigations was to reside xdoclet-ojb tags in java source
code, get repository.xml, and create tables in database with torque
ant-tasks according to my-schema.xml.

First part (generation of repository.xml and schema.xml) was successful.
I've got my-repository.xml and my-schema.xml.
Next step (generation SQL scripts to create tables) failed. Torque did not
like my-schema's dtd location:
this was generated by xdoclet-ojb module
<!DOCTYPE database SYSTEM
"http://jakarta.apache.org/turbine/dtd/database.dtd";>

this is the line that Torque likes:
<!DOCTYPE database SYSTEM
"http://db.apache.org/torque/dtd/database_3_0_1.dtd";>

well, I changed that manually.

Next thing I got using an "autoincrement" attribute for @ojb.field tag.
Generated SQL-script looks this way:

// begins
drop table Person;

CREATE TABLE Person
(
    ID integer IDENTITY,
    PRIMARY KEY(ID)
);

// ends

MsAccess doesn't know keyword "IDENTITY", me too.



So, I would like to have clear picture about the xdoclet-ojb module status
and perspective?
Can anybody help me?





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

Reply via email to