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

Milosz Tylenda commented on OPENJPA-946:
----------------------------------------

Tim, have you checked the patch resolves the issue? I am afraid adding a DATE 
to Oracle will not help because:

1. The file sql-keywords.rsrc already contains the DATE word. This file 
contains reserved words defined by SQL spec and its contents are merged with 
database-specific reserved words.

2. Recently I hit a similar problem with Firebird database: many of our tests 
use entities with a property "value" and VALUE is an SQL reserved word (exists 
in the sql-keywords.rsrc) and also a Firebird reserved word.

Maybe we are not checking column names against reserved words or merging SQL 
words with database-specific ones is broken.


> Oracle create table(s) exceptions
> ---------------------------------
>
>                 Key: OPENJPA-946
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-946
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Tim McConnell
>            Assignee: Tim McConnell
>         Attachments: OPENJPA-946.patch
>
>


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

Reply via email to