JBIDE-13385 fixed all compilation problems in hibernate keplerm5 branch