[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6278) quote all db identifiers
Strong Liu (JIRA)
noreply at atlassian.com
Tue May 31 04:58:25 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42438#action_42438 ]
Strong Liu commented on HHH-6278:
---------------------------------
{code}
public MetadataImpl(MetadataSources metadataSources, Options options) {
this.serviceRegistry = metadataSources.getServiceRegistry();
this.options = options;
final ArrayList<String> processedEntityNames = new ArrayList<String>();
if ( options.getSourceProcessingOrder() == SourceProcessingOrder.HBM_FIRST ) {
applyHibernateMappings( metadataSources, processedEntityNames );
applyAnnotationMappings( metadataSources, processedEntityNames );
}
else {
applyAnnotationMappings( metadataSources, processedEntityNames );
applyHibernateMappings( metadataSources, processedEntityNames );
}
new EntityReferenceResolver( this ).resolve();
}
{code}
we need refact this code, since, the "delimited-identifiers" can be seen only after processing (mocking) orm.xml
{code}
index.getAnnotations(PseudoJpaDotNames.DEFAULT_DELIMITED_IDENTIFIERS)
{code}
> 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