Changed dependency: from hibernate 3.2.1.ga to 3.2.4.sp1, add dependency for hibernate-commons-annotation.