We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7785097 commit 6ecb5caCopy full SHA for 6ecb5ca
hibernate-core/src/main/java/org/hibernate/property/access/spi/EnhancedGetterMethodImpl.java
@@ -26,6 +26,9 @@
26
* @author Steve Ebersole
27
*/
28
public class EnhancedGetterMethodImpl implements Getter {
29
+
30
+ private static final Object[] EMPTY = new Object[0];
31
32
private static final CoreMessageLogger LOG = messageLogger( EnhancedGetterMethodImpl.class );
33
34
private final Class containerClass;
@@ -54,7 +57,7 @@ public Object get(Object owner) {
54
57
55
58
// We don't want to trigger lazy loading of byte code enhanced attributes
56
59
if ( isAttributeLoaded( owner ) ) {
- return getterMethod.invoke( owner );
60
+ return getterMethod.invoke( owner, EMPTY );
61
}
62
return null;
63
0 commit comments