Author: epbernard
Date: 2009-11-30 11:50:25 -0500 (Mon, 30 Nov 2009)
New Revision: 18103
Modified:
core/trunk/annotations/src/main/java/org/hibernate/cfg/AnnotationBinder.java
Log:
minor doc enhancement
Modified: core/trunk/annotations/src/main/java/org/hibernate/cfg/AnnotationBinder.java
===================================================================
---
core/trunk/annotations/src/main/java/org/hibernate/cfg/AnnotationBinder.java 2009-11-30
15:59:09 UTC (rev 18102)
+++
core/trunk/annotations/src/main/java/org/hibernate/cfg/AnnotationBinder.java 2009-11-30
16:50:25 UTC (rev 18103)
@@ -889,6 +889,7 @@
null;
}
else {
+ //the are the root entity but we might have mapped superclasses that contain the id
class
AccessType access = clazzToProcess.getAnnotation( AccessType.class );
explicitAccessType = access != null ?
access.value() :
@@ -926,7 +927,6 @@
exceptionWhileWalkingElements = e;
}
- //TODO remember why it should be !inheritanceState.hasParents
if ( !hasIdentifier && !inheritanceState.hasParents ) {
if ( isExplicitPropertyAnnotated != null ) {
//the original exception is legitimate
Show replies by date