Implemented mixed Spring configuration to autowire hibernate properties to Java Properties object.
Resources refactoring.