HHH-6392 making the simple class name the default jpa entity name
This commit is contained in:
parent
959056dee7
commit
d58bb5a103
|
@ -478,7 +478,7 @@ public class EntityBinder {
|
|||
);
|
||||
String name;
|
||||
if ( jpaEntityAnnotation.value( "name" ) == null ) {
|
||||
name = entityClass.getName();
|
||||
name = entityClass.getClass().getSimpleName();
|
||||
}
|
||||
else {
|
||||
name = jpaEntityAnnotation.value( "name" ).asString();
|
||||
|
|
Loading…
Reference in New Issue