[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6278?page=c...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira