openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milosz Tylenda (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-946) Oracle create table(s) exceptions
Date Fri, 06 Mar 2009 10:01:59 GMT

    [ 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.


Mime
View raw message