@@ -20,7 +20,7 @@ public static boolean areEquals(
2020 Object b ) {
2121 final PersistentAttributeInterceptor persistentAttributeInterceptor = persistentAttributeInterceptable .$$_hibernate_getInterceptor ();
2222 if ( persistentAttributeInterceptor != null
23- && !persistentAttributeInterceptor .getInitializedLazyAttributeNames (). contains ( fieldName ) ) {
23+ && !persistentAttributeInterceptor .isAttributeLoaded ( fieldName ) ) {
2424 return false ;
2525 }
2626 return Objects .deepEquals ( a , b );
@@ -33,7 +33,7 @@ public static boolean areEquals(
3333 boolean b ) {
3434 final PersistentAttributeInterceptor persistentAttributeInterceptor = persistentAttributeInterceptable .$$_hibernate_getInterceptor ();
3535 if ( persistentAttributeInterceptor != null
36- && !persistentAttributeInterceptor .getInitializedLazyAttributeNames (). contains ( fieldName ) ) {
36+ && !persistentAttributeInterceptor .isAttributeLoaded ( fieldName ) ) {
3737 return false ;
3838 }
3939 return a == b ;
@@ -46,7 +46,7 @@ public static boolean areEquals(
4646 byte b ) {
4747 final PersistentAttributeInterceptor persistentAttributeInterceptor = persistentAttributeInterceptable .$$_hibernate_getInterceptor ();
4848 if ( persistentAttributeInterceptor != null
49- && !persistentAttributeInterceptor .getInitializedLazyAttributeNames (). contains ( fieldName ) ) {
49+ && !persistentAttributeInterceptor .isAttributeLoaded ( fieldName ) ) {
5050 return false ;
5151 }
5252 return a == b ;
@@ -59,7 +59,7 @@ public static boolean areEquals(
5959 short b ) {
6060 final PersistentAttributeInterceptor persistentAttributeInterceptor = persistentAttributeInterceptable .$$_hibernate_getInterceptor ();
6161 if ( persistentAttributeInterceptor != null
62- && !persistentAttributeInterceptor .getInitializedLazyAttributeNames (). contains ( fieldName ) ) {
62+ && !persistentAttributeInterceptor .isAttributeLoaded ( fieldName ) ) {
6363 return false ;
6464 }
6565 return a == b ;
@@ -72,7 +72,7 @@ public static boolean areEquals(
7272 char b ) {
7373 final PersistentAttributeInterceptor persistentAttributeInterceptor = persistentAttributeInterceptable .$$_hibernate_getInterceptor ();
7474 if ( persistentAttributeInterceptor != null
75- && !persistentAttributeInterceptor .getInitializedLazyAttributeNames (). contains ( fieldName ) ) {
75+ && !persistentAttributeInterceptor .isAttributeLoaded ( fieldName ) ) {
7676 return false ;
7777 }
7878 return a == b ;
@@ -85,7 +85,7 @@ public static boolean areEquals(
8585 int b ) {
8686 final PersistentAttributeInterceptor persistentAttributeInterceptor = persistentAttributeInterceptable .$$_hibernate_getInterceptor ();
8787 if ( persistentAttributeInterceptor != null
88- && !persistentAttributeInterceptor .getInitializedLazyAttributeNames (). contains ( fieldName ) ) {
88+ && !persistentAttributeInterceptor .isAttributeLoaded ( fieldName ) ) {
8989 return false ;
9090 }
9191 return a == b ;
@@ -98,7 +98,7 @@ public static boolean areEquals(
9898 long b ) {
9999 final PersistentAttributeInterceptor persistentAttributeInterceptor = persistentAttributeInterceptable .$$_hibernate_getInterceptor ();
100100 if ( persistentAttributeInterceptor != null
101- && !persistentAttributeInterceptor .getInitializedLazyAttributeNames (). contains ( fieldName ) ) {
101+ && !persistentAttributeInterceptor .isAttributeLoaded ( fieldName ) ) {
102102 return false ;
103103 }
104104 return a == b ;
@@ -111,7 +111,7 @@ public static boolean areEquals(
111111 float b ) {
112112 final PersistentAttributeInterceptor persistentAttributeInterceptor = persistentAttributeInterceptable .$$_hibernate_getInterceptor ();
113113 if ( persistentAttributeInterceptor != null
114- && !persistentAttributeInterceptor .getInitializedLazyAttributeNames (). contains ( fieldName ) ) {
114+ && !persistentAttributeInterceptor .isAttributeLoaded ( fieldName ) ) {
115115 return false ;
116116 }
117117 return a == b ;
@@ -124,7 +124,7 @@ public static boolean areEquals(
124124 double b ) {
125125 final PersistentAttributeInterceptor persistentAttributeInterceptor = persistentAttributeInterceptable .$$_hibernate_getInterceptor ();
126126 if ( persistentAttributeInterceptor != null
127- && !persistentAttributeInterceptor .getInitializedLazyAttributeNames (). contains ( fieldName ) ) {
127+ && !persistentAttributeInterceptor .isAttributeLoaded ( fieldName ) ) {
128128 return false ;
129129 }
130130 return a == b ;
0 commit comments