HHH-8472 @Lob annotation applies to both key and value of Map
Conflicts: hibernate-core/src/main/java/org/hibernate/cfg/annotations/SimpleValueBinder.java
This commit is contained in:
parent
9bdf729968
commit
795886245d
|
@ -196,8 +196,7 @@ public class SimpleValueBinder {
|
|||
}
|
||||
explicitType = type;
|
||||
}
|
||||
else if ( property.isAnnotationPresent( Lob.class ) ) {
|
||||
|
||||
else if ( !key && property.isAnnotationPresent( Lob.class ) ) {
|
||||
if ( mappings.getReflectionManager().equals( returnedClassOrElement, java.sql.Clob.class ) ) {
|
||||
type = isNationalized
|
||||
? StandardBasicTypes.NCLOB.getName()
|
||||
|
|
Loading…
Reference in New Issue