HHH-13621 Exception if spaces after value of javax.persistence.schema-generation.scripts.action in hibernate.properties
This commit is contained in:
parent
26c2e0bf2b
commit
f5877052ff
|
@ -101,7 +101,7 @@ public enum Action {
|
||||||
return (Action) value;
|
return (Action) value;
|
||||||
}
|
}
|
||||||
|
|
||||||
final String name = value.toString();
|
final String name = value.toString().trim();
|
||||||
if ( name.isEmpty() || NONE.externalJpaName.equals( name ) ) {
|
if ( name.isEmpty() || NONE.externalJpaName.equals( name ) ) {
|
||||||
// default is NONE
|
// default is NONE
|
||||||
return NONE;
|
return NONE;
|
||||||
|
|
Loading…
Reference in New Issue