HHH-18034 Configuration property `hibernate.event.listener.eventType` should be more lenient against spaces

This commit is contained in:
Yanming Zhou 2024-04-30 13:35:17 +08:00 committed by Sanne Grinovero
parent d4146865f4
commit ecaeea414d
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ import static org.hibernate.cfg.AvailableSettings.EVENT_LISTENER_PREFIX;
* @author Gail Badner
*/
public class MetadataImpl implements MetadataImplementor, Serializable {
private static final Pattern LISTENER_SEPARATION_PATTERN = Pattern.compile( " ," );
private static final Pattern LISTENER_SEPARATION_PATTERN = Pattern.compile( "\\s*,\\s*" );
private final UUID uuid;
private final MetadataBuildingOptions metadataBuildingOptions;