HHH-13621 Exception if spaces after value of javax.persistence.schema-generation.scripts.action in hibernate.properties

This commit is contained in:
Andrea Boriero 2019-09-13 11:24:11 +01:00
parent 26c2e0bf2b
commit f5877052ff
1 changed files with 1 additions and 1 deletions

View File

@ -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;