mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
HHH-15285 Calling getJavaType() of @ElementCollection with basic types returns wrong type
This commit is contained in:
parent
192b591c51
commit
b88094e70a
@ -101,6 +101,11 @@ public SimpleDomainType<E> getElementType() {
|
||||
return getValueGraphType();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<C> getJavaType() {
|
||||
return getAttributeJavaType().getJavaTypeClass();
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public SimpleDomainType<E> getValueGraphType() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user