uid is a oracle keyword

This commit is contained in:
Strong Liu 2012-03-15 16:48:20 +08:00
parent b145388625
commit e049fd6296
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@
*/
package org.hibernate.test.naturalid.inheritance;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@ -64,6 +65,7 @@ public abstract class Principal {
}
@NaturalId(mutable=true)
@Column(name = "P_UID")
public String getUid() {
return uid;
}