Robin Hillyard created METAMODEL-49:
---------------------------------------
Summary: JDBC schema names should be quotable
Key: METAMODEL-49
URL: https://issues.apache.org/jira/browse/METAMODEL-49
Project: Metamodel
Issue Type: Bug
Affects Versions: 4.0
Environment: JDBCDataContext using MySQL database
Reporter: Robin Hillyard
Priority: Minor
The particular schema name that I am accessing (in MySQL) contains a dash. This
causes server errors unless it is escaped.
Since schema is a NamedStructure like Table and Column, the MutableSchema
abstract class should support the same quote property as MutableColumn or
MutableTable.
However, currently, the MutableSchema#getQuote() method always returns null and
there is no setQuote() method.
I would be willing to add this feature (I have it in my own cloned repository).
--
This message was sent by Atlassian JIRA
(v6.2#6252)