incubator-agila-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Khamichonak <...@altaircan.com>
Subject Column name issue with Oracle
Date Tue, 29 Nov 2005 00:01:12 GMT
Hello,

it looks like there is some problem when I trying to use Oracle 9.1.7
as database server for Twister. After changing of hibernate.cfg.xml
I executing "ant db-create" and it gives me message:
-------------------------------------------------------------------------------------------
     [java] create table OBJLIFEEVT (
     [java]    id number(19,0) not null,
     [java]    eventDate date not null,
     [java]    type number(10,0) not null,
     [java]    subtype number(10,0) not null,
     [java]    comment varchar2(100),
     [java]    objectType varchar2(120),
     [java]    objectId number(19,0),
     [java]    primary key (id)
     [java] )
     [java] 3500 [main] ERROR hbm2ddl.SchemaExport  - Unsuccessful:
     create table OBJLIFEEVT (id number(19,0) not null, \eventDate date not null, type number(10,0)
     not null, subtype number(10,0) not null, comment varchar2(100), objectType varchar2(120),
objectId number(19,0),
     primary key (id))
     [java] 3500 [main] ERROR hbm2ddl.SchemaExport  - ORA-00904: : invalid identifier
-------------------------------------------------------------------------------------------
I think that the problem is in column 'comment', because in Oracle
it's reserved word. How do I change the mapping to another column
name?


Best regards,
Pavel Khamichonak.






Mime
View raw message