[hibernate-commits] [hibernate/hibernate-core] 4517a4: HHH-5642 Error configuring Hibernate with PostgreS...

noreply at github.com noreply at github.com
Fri Mar 11 07:47:11 EST 2011


Branch: refs/heads/3.6
Home:   https://github.com/hibernate/hibernate-core

Commit: 4517a4e69ff7e05976e97096e70c40c47b0e86a1
    https://github.com/hibernate/hibernate-core/commit/4517a4e69ff7e05976e97096e70c40c47b0e86a1
Author: Sanne Grinovero <sanne at hibernate.org>
Date:   2011-03-10 (Thu, 10 Mar 2011)

Changed paths:
  M core/src/main/java/org/hibernate/cfg/SettingsFactory.java
  M parent/pom.xml
  M testsuite/pom.xml
  A testsuite/src/test/java/org/hibernate/test/dialect/detection/DialectDetectWithoutMetadataTest.java
  A testsuite/src/test/resources/bytemanrules.txt

Log Message:
-----------
HHH-5642 Error configuring Hibernate with PostgreSQL JDBC3 8.2.511 driver

The functional test introduces a test dependency to Byteman to simulate broken drivers.
The rules for Byteman are defined in testsuite/src/test/resources/bytemanrules.txt

The used rule does not work on H2 as the method signature doesn't permit it to
throw a SQLException: but as it doesn't, it can't ever have this bug of course.
So drivers which could actually be affected by this would fail as Byteman forces them
to, and the test will be able to verify Hibernate is still able to boot on those
incomplete driver implementations.




More information about the hibernate-commits mailing list