Skip to content

Commit

Permalink
HHH-7048: Finished changes to ensure resolution of all entities and t…
Browse files Browse the repository at this point in the history
…ypes during binding. Refactored quite a bit of code while I did this, addressing some TODOs such as using consistent method names and cleaning up redundant and duplicate code. Still have some cleanup to do regarding the break out of the HibernateTypeHelper class. Also removed some large blocks of unused code, so this may need to be added back in if it's to be used in the future.
  • Loading branch information
jpav committed Mar 1, 2012
1 parent c98806d commit 85e2d48
Show file tree
Hide file tree
Showing 3 changed files with 946 additions and 1,429 deletions.
Expand Up @@ -238,9 +238,9 @@ private void processIdentifierGenerators(MetadataSourceProcessor[] metadataSourc
}

private void processMappings(MetadataSourceProcessor[] metadataSourceProcessors) {
final Binder binder = new Binder( this );
final Binder binder = new Binder( this, identifierGeneratorFactory );
for ( MetadataSourceProcessor processor : metadataSourceProcessors )
binder.processEntityHierarchies( processor.extractEntityHierarchies() );
binder.bindEntities( processor.extractEntityHierarchies() );
}

private void bindMappingDependentMetadata(MetadataSourceProcessor[] metadataSourceProcessors) {
Expand Down

0 comments on commit 85e2d48

Please sign in to comment.