HHH-4500 MSSQL, Oracle - Mapping inconsistency

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17790 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2009-10-19 13:15:07 +00:00
parent 376ef717e9
commit 3f3bb321ca
1 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import org.hibernate.annotations.Filter;
import org.hibernate.annotations.FilterDef;
import org.hibernate.annotations.Filters;
import org.hibernate.annotations.Index;
import org.hibernate.annotations.OptimisticLock;
import org.hibernate.annotations.OptimisticLockType;
import org.hibernate.annotations.ParamDef;
import org.hibernate.annotations.Parameter;
@ -46,7 +47,8 @@ public class Forest {
private String smallText;
private String bigText;
private Country country;
@OptimisticLock(excluded=true)
@Type(type = "text")
public String getLongDescription() {
return longDescription;