Author: stliu
Date: 2009-10-19 09:16:08 -0400 (Mon, 19 Oct 2009)
New Revision: 17791
Modified:
annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/entity/Forest.java
Log:
JBPAPP-1068 HHH-4500 Annotations - MSSQL, Oracle - Mapping inconsistency
Modified:
annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/entity/Forest.java
===================================================================
---
annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/entity/Forest.java 2009-10-19
13:15:07 UTC (rev 17790)
+++
annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/entity/Forest.java 2009-10-19
13:16:08 UTC (rev 17791)
@@ -11,6 +11,7 @@
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 @@
private String smallText;
private String bigText;
private Country country;
-
+
+ @OptimisticLock(excluded=true)
@Type(type = "text")
public String getLongDescription() {
return longDescription;
Show replies by date