用JPA创建具有保留字名的字段@Column(name="open")
使用sqlserver方言和Hibernate。[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'.
我希望Hibernate在创建表时使用引用的标识符。
对如何处理这件事有什么想法.。除了改名外?