db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Komratov" <a.komra...@lynx.ru>
Subject Torque + xdoclet-ojb module problem
Date Wed, 10 Sep 2003 16:55:43 GMT
Hello!

I'm interested in xdoclet-ojb module + Torque. 


Environment I used:


xdoclet-ojb-module-1.2b3-dev.jar, torque-3.0.2.jar (both are from db-ojb 1.0 rc4 distribution)

MsAccess 2002  as RDBMS

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.

I got an error 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.


Can anybody help me?



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message