Author: epbernard
Date: 2008-01-30 12:54:10 -0500 (Wed, 30 Jan 2008)
New Revision: 14299
Modified:
annotations/trunk/src/java/org/hibernate/cfg/annotations/SimpleValueBinder.java
Log:
better exception description on @Temporal usage
Modified: annotations/trunk/src/java/org/hibernate/cfg/annotations/SimpleValueBinder.java
===================================================================
---
annotations/trunk/src/java/org/hibernate/cfg/annotations/SimpleValueBinder.java 2008-01-30
17:51:29 UTC (rev 14298)
+++
annotations/trunk/src/java/org/hibernate/cfg/annotations/SimpleValueBinder.java 2008-01-30
17:54:10 UTC (rev 14299)
@@ -91,7 +91,7 @@
}
else {
throw new AnnotationException(
- "@Temporal should be set on a java.util.Date or java.util.Calendar property:
"
+ "@Temporal should only be set on a java.util.Date or java.util.Calendar
property: "
+ StringHelper.qualify( persistentClassName, propertyName )
);
}