Skip to content

Commit 4bb263f

Browse files
committed
HHH-10174 - Fix Incorrect splitting of string using dot as separator, dot is not escaped
1 parent 75db26f commit 4bb263f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/boot/model/relational/QualifiedNameParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public NameParts parse(String text, Identifier defaultCatalog, Identifier defaul
130130
text = unquote( text );
131131
}
132132

133-
final String[] tokens = text.split( "." );
133+
final String[] tokens = text.split( "\\." );
134134
if ( tokens.length == 0 || tokens.length == 1 ) {
135135
// we have just a local name...
136136
name = text;

0 commit comments

Comments
 (0)