mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
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 @@ 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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user