title: How to map an entity field whose name is a reserved word in JPA
body: <pre><code>@Column(name="open")
  </code></pre>
  
  <p>Using sqlserver dialect with hibernate.</p>
  
  <pre><code>[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'.
  </code></pre>
  
  <p>I would have expected hibernate to use quoted identifier when creating the table.</p>
  
  <p>Any ideas on how to handle this... other than renaming the field?</p>