17.7.12

Hibernate used to convert camel case object property names to underscored database field names.But this is not working anymore. So you should say your naming strategy to hibernate specifically with setting "hibernate.ejb.naming_strategy" property.

For auto-conversion from camel case to  underscores (like patientId to PATIENT_ID as a database column name) you can set it to "org.hibernate.cfg.ImprovedNamingStrategy" for choosing ImprovedNamingStrategy.

13.7.12

Maven dependencies not visible from Tomcat for a Web Project

If you are running the project as dynamic web project on a server within eclipse,

Open the project properties (right click > properties) and select "Deployment Assembly".

There click "add", select "build path entries", and choose "maven dependencies".

This will instruct WTP to send the maven dependencies to the server dir

 For other solutions: http://stackoverflow.com/questions/6083501/maven-dependencies-not-visible-in-web-inf-lib