Issue Type: Improvement Improvement
Assignee: Strong Liu
Components: metamodel
Created: 26/Dec/12 11:34 PM
Description:

Binder class is getting bigger and bigger (more than 3300 lines ATM), it is really hard to understand and maintain it.

To better organize this class ( instead of splitting this to some smaller binder classes, which, btw, i think it is the way to go in a long term ), I'm making the following changes:

  • group methods in this class by purpose

the methods are grouped in the following order:

1. entity binding methods
2. identifier binding methods
3. attributes binding methods
4. relational binding methods
5. instance helper methods
6. static helper methods

  • uniform method parameters order

lots of bind methods require at least two parameter, the binding target and source object, so, here I'd like to have a uniform parameter order – (binding, source)

  • moving type binding / resolve methods into HibernateTypeHelper

of course, this HibernateTypeHelper still need to be refactoed

Fix Versions: 5.0.0
Project: Hibernate ORM
Priority: Major Major
Reporter: Strong Liu
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira