Richard Zowalla created OPENJPA-3076:
----------------------------------------

             Summary:  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
             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