HHH-8472 @Lob annotation applies to both key and value of Map
This commit is contained in:
parent
7444c6c139
commit
0695299155
|
@ -203,7 +203,7 @@ public class SimpleValueBinder {
|
||||||
}
|
}
|
||||||
explicitType = type;
|
explicitType = type;
|
||||||
}
|
}
|
||||||
else if ( property.isAnnotationPresent( Lob.class ) ) {
|
else if ( !key && property.isAnnotationPresent( Lob.class ) ) {
|
||||||
if ( mappings.getReflectionManager().equals( returnedClassOrElement, java.sql.Clob.class ) ) {
|
if ( mappings.getReflectionManager().equals( returnedClassOrElement, java.sql.Clob.class ) ) {
|
||||||
type = isNationalized
|
type = isNationalized
|
||||||
? StandardBasicTypes.NCLOB.getName()
|
? StandardBasicTypes.NCLOB.getName()
|
||||||
|
|
Loading…
Reference in New Issue