openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1233) Update DerbyDictionary with new reserved words
Date Sat, 08 Aug 2009 02:29:14 GMT

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

Donald Woods commented on OPENJPA-1233:
---------------------------------------

Example of the 112 failures caused by moving up to Derby 10.4.2.0, which now reserves "none"
as a keyword -
testFieldDefaultTimeZone(org.apache.openjpa.persistence.kernel.TestCalendarFields) Time elapsed:
6.465 sec <<< ERROR!
<openjpa-2.0.0-SNAPSHOT-r422266:802138M nonfatal general error> org.apache.openjpa.persistence.PersistenceException:
Syntax error: Encountered "none" at line 2, column 50. {stmnt 1501285943 CREATE TABLE nullvalue
-- Inner
    (Id INTEGER NOT NULL, exception_col INTEGER, none INTEGER, PRIMARY KEY (Id))} [code=30000,
state=42X01]
        at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:553)
        at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:453)
        at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:159)
        at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:163)
        at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:119)
        at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:212)
        at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:160)
        at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:219)


> Update DerbyDictionary with new reserved words
> ----------------------------------------------
>
>                 Key: OPENJPA-1233
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1233
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 1.0.3, 1.1.0, 1.2.1, 1.3.0, 2.0.0-M2
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 1.3.0, 2.0.0
>
>
> Derby 10.4.1.3 [DERBY-3460] added new reserved words:NONE and CURRENT_ROLE.
> Derby 10.5.2.0 [DERBY-4268] added new reserved word:  SECURITY.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message