HHH-5789 Hibernate 3.5.4 doesn't build with OpenJDK 6b18-1.8.2 or greater
This commit is contained in:
parent
77baa2aa64
commit
af0043ae6a
|
@ -194,7 +194,7 @@ public abstract class AbstractPathImpl<X>
|
|||
if ( attribute.isCollection() ) {
|
||||
final PluralAttribute<X,Y,?> pluralAttribute = (PluralAttribute<X,Y,?>) attribute;
|
||||
if ( PluralAttribute.CollectionType.MAP.equals( pluralAttribute.getCollectionType() ) ) {
|
||||
return (PluralAttributePath<Y>) this.get( (MapAttribute<X,?,?>) pluralAttribute );
|
||||
return (PluralAttributePath<Y>) this.<Object,Object,Map<Object, Object>>get( (MapAttribute) pluralAttribute );
|
||||
}
|
||||
else {
|
||||
return (PluralAttributePath<Y>) this.get( (PluralAttribute) pluralAttribute );
|
||||
|
|
Loading…
Reference in New Issue