mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-08 04:08:19 +00:00
HHH-10174 - Fix Incorrect splitting of string using dot as separator, dot is not escaped
This commit is contained in:
parent
75db26f24e
commit
4bb263f789
@ -130,7 +130,7 @@ public NameParts parse(String text, Identifier defaultCatalog, Identifier defaul
|
|||||||
text = unquote( text );
|
text = unquote( text );
|
||||||
}
|
}
|
||||||
|
|
||||||
final String[] tokens = text.split( "." );
|
final String[] tokens = text.split( "\\." );
|
||||||
if ( tokens.length == 0 || tokens.length == 1 ) {
|
if ( tokens.length == 0 || tokens.length == 1 ) {
|
||||||
// we have just a local name...
|
// we have just a local name...
|
||||||
name = text;
|
name = text;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user