[ 
https://issues.apache.org/jira/browse/OPENJPA-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dianne Richards updated OPENJPA-1115:
-------------------------------------

    Attachment: auto_delim_id_patch.txt

This patch contains the support for auto delimiting identifiers - delimiting 
based on the <delimited-identifiers> element being specified in the mapping 
file. 

Some exceptions:

1. The catalog elements are not delimited yet since catalog is not currently 
supported by openjpa.

2. The columnDefinition elements are not delimited yet since there is some 
complication involved. If a VARCHAR or other pre-defined column definition is 
delimited, the database rejects it. Presumably, delimiting will only work for 
user defined column definitions. This will take some time to work out and test.

3. There is some temporary code to work around a problem that occurs when a 
column name or schema name or sequence name is read from the database to 
compare with the current request. If they had been originally delimited, this 
is not known. The temporary solution works, but is limited and not good. A new 
scheme will be implemented at a later time (hopefully soon).

> Finish support for delimited identifiers
> ----------------------------------------
>
>                 Key: OPENJPA-1115
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1115
>             Project: OpenJPA
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0-M2
>            Reporter: Dianne Richards
>            Assignee: Dianne Richards
>             Fix For: 2.0.0
>
>         Attachments: auto_delim_id_patch.txt, manual_patch.txt
>
>
> Support manual delimiters for the following annotations:
>    EntityResult
>    FieldResult
>    ColumnResult
> Support the automatic delimiting of delimiters

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