[
https://issues.apache.org/jira/browse/METAMODEL-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974797#comment-13974797
]
Kasper Sørensen commented on METAMODEL-49:
------------------------------------------
Sounds like a good contribution.! Can you share the patch?
> 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
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> 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)