[hibernate-commits] [hibernate/hibernate-core] 8c2333: HHH-6020: some refactoring on how the JTA tests ar...

noreply at github.com noreply at github.com
Sat Apr 2 04:26:40 EDT 2011


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

Commit: 8c233312ce103bc6157368f1fc126ea5aaa38ee4
    https://github.com/hibernate/hibernate-core/commit/8c233312ce103bc6157368f1fc126ea5aaa38ee4
Author: adamw <adam at warski.org>
Date:   2011-04-02 (Sat, 02 Apr 2011)

Changed paths:
  M hibernate-envers/src/test/java/org/hibernate/envers/test/AbstractEntityTest.java
  M hibernate-envers/src/test/java/org/hibernate/envers/test/EnversTestingJtaBootstrap.java
  M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/jta/JtaExceptionListener.java
  M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/jta/JtaTransaction.java
  R hibernate-envers/src/test/resources/hibernate.test.cfg.xml

Log Message:
-----------
HHH-6020: some refactoring on how the JTA tests are done. All hibernate config is in the AbstractEntityTest now, instead of loading an xml file.


Commit: 8ac8b87d8c302b2f6aed6b1a8ecbf374a3e26be3
    https://github.com/hibernate/hibernate-core/commit/8ac8b87d8c302b2f6aed6b1a8ecbf374a3e26be3
Author: adamw <adam at warski.org>
Date:   2011-04-02 (Sat, 02 Apr 2011)

Changed paths:
  M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/jta/JtaExceptionListener.java

Log Message:
-----------
HHH-6020: fixing the jta exception listener test - different exception thrown


Commit: abf2d21279b6efed611b28a4d7753aa9a09aae31
    https://github.com/hibernate/hibernate-core/commit/abf2d21279b6efed611b28a4d7753aa9a09aae31
Author: adamw <adam at warski.org>
Date:   2011-04-02 (Sat, 02 Apr 2011)

Changed paths:
  M hibernate-envers/src/test/java/org/hibernate/envers/test/AbstractEntityTest.java

Log Message:
-----------
HHH-6020: keeping the in-memory database open for the duration of the JVM lifetime - so that the JTA tests pass - otherwise after creating the tables, all connections are closed before executing tests, which causes the DB to be cleared.


Compare: https://github.com/hibernate/hibernate-core/compare/e9f16e4...abf2d21


More information about the hibernate-commits mailing list