@Column(name="open")
Using the sqlserver dialect with hibernation.
[SchemaUpdate] Unsuccessful: create table auth_session (id numeric(19,0) identity not null, active tinyint null, creation_date datetime not null, last_modified datetime not null, maxidle int null, maxlive int null, open tinyint null, sessionid varchar(255) not null, user_id numeric(19,0) not null, primary key (id), unique (sessionid)) [SchemaUpdate] Incorrect syntax near the keyword 'open'.
I would expect hibernation to use the quoted identifier when creating the table.
Any ideas on how to handle this ... other than renaming the field?
java sql-server orm hibernate jpa
TJR 08 Feb '10 at 20:06 2010-02-08 20:06
source share