merge trunk to hibernate4
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / common / CdmBase.java
index 78794a0c500bf0bb626196eae0c5217edc61a94b..c0f1b73767b3e88077ec652ca35e07e511846a5e 100644 (file)
@@ -109,7 +109,7 @@ public abstract class CdmBase implements Serializable, ICdmBase, Cloneable{
     @Type(type="uuidUserType")
     @NaturalId // This has the effect of placing a "unique" constraint on the database column
     @XmlID
-    @Column(length=36)
+    @Column(length=36)  //TODO needed? Type UUID will always assure that is exactly 36
     @Match(MatchMode.IGNORE)
     @NotNull
     @Field(store = Store.YES, index = Index.YES, analyze = Analyze.NO)