JBIDE-13385 fixed all compilation problems in hibernate kepler branch