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 0720631 commit 9bd8a95Copy full SHA for 9bd8a95
hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
@@ -273,7 +273,9 @@ public Property makeProperty() {
273
prop.setPropertyAccessorName( accessType.getType() );
274
275
if ( property != null ) {
276
- prop.setValueGenerationStrategy( determineValueGenerationStrategy( property ) );
+ if ( entityBinder != null ) {
277
+ prop.setValueGenerationStrategy( determineValueGenerationStrategy( property ) );
278
+ }
279
280
if ( property.isAnnotationPresent( AttributeAccessor.class ) ) {
281
final AttributeAccessor accessor = property.getAnnotation( AttributeAccessor.class );
0 commit comments