Skip to content

Commit ecaeea4

Browse files
quaffSanne
authored andcommitted
HHH-18034 Configuration property hibernate.event.listener.eventType should be more lenient against spaces
1 parent d414686 commit ecaeea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
* @author Gail Badner
8282
*/
8383
public class MetadataImpl implements MetadataImplementor, Serializable {
84-
private static final Pattern LISTENER_SEPARATION_PATTERN = Pattern.compile( " ," );
84+
private static final Pattern LISTENER_SEPARATION_PATTERN = Pattern.compile( "\\s*,\\s*" );
8585

8686
private final UUID uuid;
8787
private final MetadataBuildingOptions metadataBuildingOptions;

0 commit comments

Comments
 (0)