[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6278) quote all db identifiers

Strong Liu (JIRA) noreply at atlassian.com
Tue May 31 05:40:25 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42442#action_42442 ] 

Strong Liu commented on HHH-6278:
---------------------------------

well, "delimited-identifier" is required by jpa spec.
i'm not sure how the hibernate.properties /hibernate.cfg.xml fit into the current Metadata/Option
but here is the thoughts:

1. Option has a isGloballyQuotedIdentifiers(), and returns true if GLOBALLY_QUOTED_IDENTIFIERS is defined.
2. move the index/mock out of applyAnnotationMappings and run it before applying both annotation and hbm

here we can see if the global quoted identifier is defined (either by property or by orm.xml)



> quote all db identifiers
> ------------------------
>
>                 Key: HHH-6278
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6278
>             Project: Hibernate Core
>          Issue Type: Task
>          Components: metamodel
>            Reporter: Strong Liu
>
> there are two ways for users to apply this rule, one is the set "GLOBALLY_QUOTED_IDENTIFIERS" to true in hibernate properties, the other is "delimited-identifiers" property in orm.xml
> now i don't say any code in the new metamodel binding stuff take care of this quote thing

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list