[
https://issues.apache.org/jira/browse/OPENJPA-3075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18143694#comment-18143694
]
ASF subversion and git services commented on OPENJPA-3075:
----------------------------------------------------------
Commit 53cba295e13f8f6e0ee83c2a949e8162e158fd53 in openjpa's branch
refs/heads/OPENJPA-3076 from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=53cba295e ]
[OPENJPA-3076] Expect the Derby names of OPENJPA-3075 and test every name dump
setup next to all others
Since OPENJPA-3075 the Derby dictionary reserves WINDOW and renames a default
table name Derby rejects, so Window becomes WINDOW0 on Derby whichever
dictionary is configured first. The per dictionary tests now use RANK and
Partition, which MySQL reserves and Derby does not, for a name MySQL delimits
and Derby leaves alone, and expect WINDOW0 on Derby. A new test maps every
setup of the name dump after the dictionaries of all setups were configured,
in either order, and compares the names with those the setup gets alone.
> DerbyDictionary does not know WINDOW and other words Derby reserves
> --------------------------------------------------------------------
>
> Key: OPENJPA-3075
> URL: https://issues.apache.org/jira/browse/OPENJPA-3075
> Project: OpenJPA
> Issue Type: Bug
> Reporter: Richard Zowalla
> Assignee: Richard Zowalla
> Priority: Major
> Fix For: 4.2.0
>
>
> DerbyDictionary's reserved words are missing words that Derby rejects as
> unquoted identifiers, such as WINDOW. An entity named Window therefore
> produces CREATE TABLE Window, which fails on Derby. Add the missing words,
> taken from Derby itself.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)