HHH-7717 Quoted "value" column name as "`value`" since it's a reserved

word in
CUBRID.
This commit is contained in:
Esen Sagynov 2012-10-26 11:17:17 -04:00 committed by brmeyer
parent d611f59832
commit 3d82bb1d64
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
package org.hibernate.test.annotations.onetoone;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Column;
/**
* @author Emmanuel Bernard
@ -35,6 +36,7 @@ public class SerialNumber {
this.id = id;
}
@Column(name="`value`")
public String getValue() {
return value;
}