Author: steve.ebersole(a)jboss.com
Date: 2009-12-21 23:15:04 -0500 (Mon, 21 Dec 2009)
New Revision: 18311
Modified:
core/trunk/entitymanager/src/main/java/org/hibernate/ejb/metamodel/AbstractManagedType.java
Log:
HHH-4720 - Improve javax.persistence.metamodel.Attribute support
Modified:
core/trunk/entitymanager/src/main/java/org/hibernate/ejb/metamodel/AbstractManagedType.java
===================================================================
---
core/trunk/entitymanager/src/main/java/org/hibernate/ejb/metamodel/AbstractManagedType.java 2009-12-21
23:34:10 UTC (rev 18310)
+++
core/trunk/entitymanager/src/main/java/org/hibernate/ejb/metamodel/AbstractManagedType.java 2009-12-22
04:15:04 UTC (rev 18311)
@@ -242,7 +242,7 @@
|| ( Byte.class.equals( javaType ) && Byte.TYPE.equals( declaredType ) )
|| ( Short.class.equals( javaType ) && Short.TYPE.equals( declaredType ) )
|| ( Integer.class.equals( javaType ) && Integer.TYPE.equals( declaredType )
)
- || ( Long.class.equals( javaType ) && Long.TYPE.equals( javaType ) )
+ || ( Long.class.equals( javaType ) && Long.TYPE.equals( declaredType ) )
|| ( Float.class.equals( javaType ) && Float.TYPE.equals( declaredType ) )
|| ( Double.class.equals( javaType ) && Double.TYPE.equals( declaredType )
);
}
Show replies by date