Move hibernate naming strategy to common
Migrate to Hibernate 4