Table does not handle quoted catalog
------------------------------------
Key: HHH-7195
URL:
https://hibernate.onjira.com/browse/HHH-7195
Project: Hibernate ORM
Issue Type: Bug
Components: core
Affects Versions: 3.5.0-Final
Reporter: Dmitry Geraskov
Test case:
1. Create Table t = new Table("`my.table`");
t.setSchema("`my.schema`"):
t.setCatalog("`my.catalog`"):
//add some columns
t.sqlCreateString(someDialect, someMapping, null, null);
//create table `my.catalog`."my.schema"."my.table" (...)
t.setCatalog("my.catalog"):
t.sqlCreateString(someDialect, someMapping, null, null);
//create table my.catalog."my.schema"."my.table" (...)
Both variant are wrong. (Dialect#openQuote() returns ")
The reason is Table doesn't separate quotes and actual name for catalog like does for
schema.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira