Skip to content

Commit

Permalink
HHH-8472 @lob annotation applies to both key and value of Map
Browse files Browse the repository at this point in the history
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/SimpleValueBinder.java
  • Loading branch information
minman authored and brmeyer committed Sep 11, 2013
1 parent 9bdf729 commit 7958862
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -196,8 +196,7 @@ else if ( mappings.getReflectionManager().equals( returnedClassOrElement, Calend
}
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()
Expand Down

0 comments on commit 7958862

Please sign in to comment.