HHH-8472 @Lob annotation applies to both key and value of Map

This commit is contained in:
minman 2013-09-04 19:05:31 +02:00 committed by Brett Meyer
parent 7444c6c139
commit 0695299155
1 changed files with 1 additions and 1 deletions

View File

@ -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()