Commit Graph

314 Commits

Author SHA1 Message Date
Brett Meyer 9ce5c32dd7 HHH-7902 Replace JDBC proxies with a set of contracts/helpers
HHH-7902 Merged JdbcResourceRegistry into JdbcCoordinator.  Parts of
LogicalConnection moved into JdbcCoordinator as well.

HHH-7902 Replaced Statement#close and ResultSet#close calls with
JdbcCoordinator#release

HHH-7902 Enforced the use of StatementPreparer, instead of Connection

HHH-7902 ResultSetExtractor.  Replaced all instances of execute,
executeQuery, executeUpdate, etc.

HHH-7902 Refactored AbstractReturningDelegate to give access to
jdbcCoordinator

HHH-7902 Corrected test failures

HHH-7902 Removed resource registry use from JdbcIsolation workers

HHH-7902 Corrected a few bugs in JdbcCoordinator and ResultSetExtractor.

HHH-7902 ResultSetExtractor -> ResultSetReturn.  Reworked proxy tests to
test the new APIs.

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
	hibernate-core/src/test/java/org/hibernate/sharedSession/SessionWithSharedConnectionTest.java
	hibernate-core/src/test/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java
	hibernate-core/src/test/java/org/hibernate/test/jdbc/proxies/BatchingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jdbc/TestExpectedUsage.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/BasicDrivingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/ManagedDrivingTest.java
2013-01-14 14:25:06 -05:00
Lukasz Antoniak 0713cea180 HHH-7870 - Fix and test 2013-01-10 14:38:11 +01:00
Lukasz Antoniak bcf73bd32c HHH-7437 - Fix and test 2013-01-03 13:10:16 +01:00
Strong Liu 6c6df69535 refactor, remove redundant type cast 2012-12-25 19:25:47 +08:00
Lukasz Antoniak da32690828 HHH-7827 - Documentation 2012-12-05 10:27:37 +01:00
Lukasz Antoniak 516577ea80 HHH-7827 - Correlating aggregated and outer queries 2012-12-05 10:27:35 +01:00
Lukasz Antoniak 468c58358e HHH-7800 - Tests cleanup 2012-11-22 12:02:35 +01:00
Csaba Varga dadc43af23 HHH-7800: Fixed "maximize" doesn't work inside a disjunction issue 2012-11-22 12:02:31 +01:00
Csaba Varga cd3363151b HHH-7800: added unit test to demonstrate broken behavior ("maximize"
does not work inside an AuditDisjunction)
2012-11-22 12:02:28 +01:00
Csaba Varga ff25434d1f HHH-7800: Fixed "between" doesn't work inside a disjunction issue 2012-11-22 12:02:24 +01:00
Csaba Varga 54760bb61e HHH-7800: added unit test to demonstrate broken behavior ("between"
does not work inside an AuditDisjunction)
2012-11-22 12:02:21 +01:00
Lukasz Antoniak c01dd40a65 HHH-5910 - Fix and test 2012-11-19 19:03:59 +01:00
Lukasz Antoniak 5b004e4cbd HHH-7780 - Proper enumeration named/ordinal discovery 2012-11-14 16:15:43 +01:00
Lukasz Antoniak 97b1f0749e HHH-3854 - Fix and test 2012-11-11 17:58:23 +01:00
Lukasz Antoniak 0e3fe2b3d5 HHH-6349 - Test cleanup 2012-10-30 16:57:38 +01:00
Erik-Berndt Scheper 7b093fbc31 HHH-6349 Testcase: AuditJoinTable rows missing when detached entities with collections are merged into the persistence context 2012-10-30 16:57:36 +01:00
Erik-Berndt Scheper 47ae4e3ced HHH-6349 Testcase: AuditJoinTable rows missing when detached entities with collections are merged into the persistence context 2012-10-30 16:57:35 +01:00
Lukasz Antoniak 363048f44a HHH-7669 - Oracle sequences ordered 2012-10-30 08:48:28 +01:00
Lukasz Antoniak cbe619f9ba HHH-7727 - Mark Envers demo as test source 2012-10-28 22:13:14 +01:00
brmeyer b7855e944b HHH-7682 Audit records are not rolled back when transaction is rolled
back
2012-10-25 10:13:37 -04:00
Lukasz Antoniak ac511bf72e HHH-7690 - @EmbeddedId with @ManyToOne inside 2012-10-25 12:56:27 +02:00
brmeyer 1a00abc3a6 HHH-7669: JtaTransaction test fails on Oracle RAC
https://hibernate.onjira.com/browse/HHH-7669
2012-10-23 17:44:36 -04:00
Steve Ebersole 595f068977 HHH-7620 - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder 2012-09-20 04:25:48 -05:00
brmeyer 69442c6ea7 HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
job
2012-09-18 07:13:20 -04:00
Steve Ebersole 4ad49a02c9 HHH-7556 - Clean up packages 2012-08-28 14:12:15 -05:00
Lukasz Antoniak a9c28bf28f HHH-7543 - Fix and test 2012-08-24 22:30:37 +02:00
Lukasz Antoniak edfe8afaf1 HHH-7212 - Fix 2012-08-23 23:51:46 +02:00
Steve Ebersole 4282e23caa HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI (small test change) 2012-08-18 12:30:21 -05:00
Lukasz Antoniak 773d0793f1 HHH-4751 - Fix and test 2012-08-16 10:34:16 +02:00
Strong Liu 7a82349f75 HHH-7385 change to use gradle 1.1 2012-08-08 17:09:11 +08:00
Lukasz Antoniak 9aa88b9a24 HHH-7157 - Fix and test 2012-08-07 19:07:56 +02:00
Strong Liu d0e13b664a HHH-7108 HHH-6608 2012-08-07 15:08:23 +08:00
Lukasz Antoniak 414e6111a8 HHH-6662, HHH-7445 - Fix and test 2012-07-25 23:23:17 +02:00
Steve Ebersole 30d8fdaa8b HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : more ejb->jpa rename 2012-07-18 18:05:06 -05:00
Steve Ebersole cb13cea1ac HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec + HEM boot cleanup (HHH-6159) 2012-07-18 17:48:59 -05:00
Lukasz Antoniak ffa9cf5768 HHH-5565 - Fix and test 2012-06-17 15:26:11 +02:00
Steve Ebersole bd7b54a4ea cleanup missed references to matrix sourceSet 2012-06-08 07:59:54 -05:00
Steve Ebersole b0bdda1141 consolidate src/test and src/matrix 2012-06-07 14:12:06 -05:00
Lukasz Antoniak 77d83b8a10 HHH-5411 - Fix and test 2012-06-07 14:08:15 +02:00
Lukasz Antoniak 8211c97ace HHH-7295 - Simplify ValidityAuditStrategy#perform() method 2012-05-30 18:49:40 +02:00
Steve Ebersole 06f0a13ee3 HHH-7295 - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly 2012-05-30 08:55:20 -05:00
Steve Ebersole 835f4452eb HHH-7295 - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly 2012-05-29 15:45:07 -05:00
Lukasz Antoniak af554fe59b HHH-7093 - ValidityAuditStrategy behaviour depending on row value constractor feature 2012-05-23 21:32:47 +02:00
Lukasz Antoniak 007bbe45a9 HHH-7294 - Fixing test case 2012-05-03 14:42:25 +02:00
Lukasz Antoniak 779e70df4d HHH-7187 - Fix ValidityAuditStrategyRevEnd tests 2012-04-29 13:27:28 +02:00
Lukasz Antoniak f7708a9c6c HHH-7246 - Fix and test 2012-04-24 22:41:49 +02:00
Lukasz Antoniak 6a7b70d4cc HHH-7187 - Fixing tests on Sybase 2012-04-22 12:50:23 +02:00
Steve Ebersole 3cd58b6e79 HHH-7266 - Move away from use of Enhydra developed DataSource for JTA testing 2012-04-20 18:59:06 -05:00
Lukasz Antoniak 95ec3457af HHH-7187 - Renaming and documenting enhanced revision entity 2012-04-19 23:49:41 +02:00
Lukasz Antoniak c41fee2a07 HHH-7187 - Moving AbstractEntityTest 2012-04-19 20:15:46 +08:00