[ 
https://issues.apache.org/jira/browse/OPENJPA-3076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18142863#comment-18142863
 ] 

ASF subversion and git services commented on OPENJPA-3076:
----------------------------------------------------------

Commit f4b6914fc16bd34786adb175a2fbab8974b33f42 in openjpa's branch 
refs/heads/OPENJPA-3076 from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=f4b6914fc ]

[OPENJPA-3076] Remember the names a dictionary that delimits reserved words 
gave, and take the base name of a qualified name without copying it, as the 
names written into SQL are normalized again


>  Delimiting of reserved words is a JVM-wide setting, so the dictionary 
> configured last decides it for all persistence units
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-3076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-3076
>             Project: OpenJPA
>          Issue Type: Bug
>            Reporter: Richard Zowalla
>            Priority: Major
>             Fix For: 4.2.0
>
>
> Whether a reserved word is delimited is decided by a shared static 
> IdentifierRule. MySQLDictionary (and MariaDBDictionary since OPENJPA-3074) 
> switches it on, and every other dictionary resets it. With persistence units 
> for different databases in one JVM, the dictionary configured last decides 
> the names for all of them. For example, after Derby is configured, MySQL's 
> Window table becomes WINDOW0. Delimiting should be decided per configuration.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to