File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
hibernate-core/src/main/java/org/hibernate/cfg/annotations Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -317,10 +317,12 @@ public Property makeProperty() {
317
317
property .setReturnedClassName ( returnedClassName );
318
318
319
319
if ( this .property != null ) {
320
- handleNaturalId ( property );
321
- property .setValueGenerationStrategy ( determineValueGenerationStrategy (this .property ) );
320
+ if ( entityBinder != null ) {
321
+ handleNaturalId ( property );
322
+ property .setValueGenerationStrategy ( determineValueGenerationStrategy ( this .property ) );
323
+ }
322
324
// HHH-4635 -- needed for dialect-specific property ordering
323
- property .setLob ( this .property .isAnnotationPresent (Lob .class ) );
325
+ property .setLob ( this .property .isAnnotationPresent ( Lob .class ) );
324
326
}
325
327
326
328
property .setInsertable ( insertable );
You can’t perform that action at this time.
0 commit comments