Commit Graph

171 Commits

Author SHA1 Message Date
Vlad Mihalcea 16a0f01f00 HHH-11585 - Batch ordering fails for bidirectional one-to-one associations
(cherry picked from commit f90845c30c)

HHH-11585 : Batch ordering fails for bidirectional one-to-one associations

HHH-11585 - Batch ordering fails for bidirectional one-to-one associations

- take into consideration legacy one-to-one mappings with composite ids as well

(cherry picked from commit acae69ffaf)

HHH-11585 : Fix test case to work on pre-5.2 branches

HHH-11585 - Batch ordering fails for bidirectional one-to-one associations
2017-06-16 16:44:13 -07:00
Christian Beikov f631cb4da5 HHH-11157 : Add property for disabling subquery join rewrites and handle mysql quoted identifiers
(cherry picked from commit 556aa265c0)
2017-06-07 14:33:38 -07:00
Andrea Boriero 020c0051ee HHH-10946 - Fix checkstyle failures
(cherry picked from commit 2246e94ded)
2017-06-02 16:28:02 -07:00
Vlad Mihalcea 77f452fad2 HHH-10907 - Fix connection leak problem in hibernate-core tests
(cherry picked from commit f5e10c29eb)
2017-06-02 16:25:18 -07:00
Vlad Mihalcea e45f5c0e65 HHH-10907 - Fix connection leak problem in hibernate-core tests
(cherry picked from commit da9c6e160d)
2017-06-02 14:07:46 -07:00
Gail Badner b5372a1fc5 HHH-10946 : Fix to work pre-5.2 2017-06-02 14:06:32 -07:00
Vlad Mihalcea 92f30081c9 Add missing license headers
(cherry picked from commit 9abe775708)
2017-06-02 11:41:35 -07:00
Vlad Mihalcea 9e2fc16621 HHH-10946 - Add utility to detect connection leaks during testing
(cherry picked from commit 9c74438e99)
2017-06-02 11:41:21 -07:00
Gail Badner 4b23a68a8c HHH-11434 : Fix tests to work with pre-5.2 2017-02-23 13:50:19 -08:00
Gail Badner 1660c520ba HHH-11434 : Fix tests to work with pre-5.2 2017-02-23 12:32:19 -08:00
Jan Martiska 71034a99fd HHH-11434 - prevent failures in some tests from freezing the whole test suite
(cherry picked from commit e62d71b76b)
2017-02-22 21:26:45 -08:00
Gail Badner cfb4d37834 HHH-10996 : bugfix in code changed to run pre-5.2 2017-02-21 14:40:41 -08:00
Vlad Mihalcea 72f238f813 HHH-10996 - The cleanupTestData utility has issues with link tables
Use bulk delete in certain situations like when we have a @Formula annotation that takes an SQL function which is not supported by the currently running DB

(cherry picked from commit bf823d440c)

Conflicts:
	hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
2017-02-21 13:47:15 -08:00
Gail Badner 2bf9cadef3 HHH-10996 : Fix to work pre-5.2 2017-02-21 13:40:44 -08:00
Vlad Mihalcea fc4665707d HHH-10996 - The cleanupTestData utility has issues with link tables
(cherry picked from commit 8f5ba32990)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/hql/CollectionMapWithComponentValueTest.java
2017-02-21 13:35:09 -08:00
Vlad Mihalcea 3088e1f6bf HHH-10904 - Fix tests failing when switching to MySQL
(cherry picked from commit 0e6230faf0)
2017-01-17 22:39:06 -05:00
Gail Badner 7d7aef7ecc HHH-10689 - Fix tests failing when switching to Oracle 2016-12-09 13:37:48 -08:00
Steve Ebersole 248df370eb HHH-11058 - NPE in SchemaValidator with DdlTransactionIsolatorJtaImpl
(cherry picked from commit f26eb97091)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaDropperImpl.java
2016-08-23 15:22:53 -07:00
barreiro 788f0dd3cd HHH-10977 - Fix enhanced classloader so that the testsuite behaves as the enhancement plugins do
(cherry picked from commit b3aaa12b64)
2016-07-21 22:26:45 -07:00
Gail Badner 58b3f69555 HHH-10922 - Correcions due to backporting 2016-07-19 15:55:39 -07:00
barreiro c07beabf9f HHH-10922 - Add support for custom enhancement context on bytecode enhacer tests
(cherry picked from commit 68a2896c2b)
2016-07-19 12:48:38 -07:00
Steve Ebersole 6667020808 HHH-10287 - Cache keys no longer include the entity type
(cherry picked from commit 3a0824a037)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
	hibernate-testing/src/main/java/org/hibernate/testing/cache/BaseNaturalIdRegionAccessStrategy.java
	hibernate-testing/src/main/java/org/hibernate/testing/cache/ReadWriteNaturalIdRegionAccessStrategy.java
2016-06-07 12:00:43 -07:00
Andrea Boriero 4a15d23aec HHH-10513 - Add test for issue 2016-05-26 10:35:17 +01:00
Dominique Toupin de6d80a67b HHH-10456: Report the class name were the invalid PrimaryKeyJoinColumn is present 2016-03-30 17:55:05 +03:00
Steve Ebersole 17de173cb5 HHH-10458 - Better encapsulate SchemaManagementTool (OGM) - unify JPA schema generation and hbm2ddl capabilities;
HHH-10487 - Add @Incubating annotation
2016-02-09 11:45:46 -06:00
Martin Simka af7a9a69a8 [HHH-10475] skip CompositeIdRowValueTest databases that don't support row value constructor syntax 2016-02-08 22:12:15 -08:00
Steve Ebersole 701f59b132 cleaned up JdbcMocks in test sources and moved it to hibernate-testing 2016-01-23 13:24:45 -06:00
Steve Ebersole 039382e8be cleaned up JdbcMocks in test sources and moved it to hibernate-testing 2016-01-23 12:59:03 -06:00
barreiro 6828f5ee9b HHH-10354 - Rename 'field access' to 'extended enhancement' 2015-12-16 13:56:56 -06:00
Steve Ebersole 2cb113cf96 checkstyle fix ups 2015-11-16 22:57:25 -06:00
Steve Ebersole 1e44e7420b HHH-10267 - Support defining lazy attribute fetch groups 2015-11-16 15:43:11 -06:00
Andrea Boriero f9065daba1 HHH-5946 - Tests for not equals operations expecting QuerySyntaxException require dialect does not support row value constructor syntax 2015-11-14 14:33:16 +00:00
Steve Ebersole 472f4ab9ef HHH-10280 - Remove legacy bytecode enhancement artifacts 2015-11-12 19:47:50 -06:00
Steve Ebersole 246e98c5af HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-10-27 21:55:14 -05:00
Steve Ebersole 6d590d76b6 HHH-9807 - Better error message when @Formula and @Id are combined 2015-10-07 13:07:37 -05:00
Andrea Boriero 8d3b2e723b HHH-9996 - Finish Derby database profile 2015-09-28 21:28:12 +01:00
Steve Ebersole 6ce9d6848d HHH-10115 - HHH90000003: Use of DOM4J entity-mode is considered deprecated
(cherry picked from commit 91cd767d20)
2015-09-22 16:13:45 -05:00
Andrea Boriero c5b1cf94f3 HHH-10108 - Substituted checkstyle NewlineAtEndOfFile rule with rules used in OGM and fixed classes having more than a newline at the end of file 2015-09-22 18:11:43 +01:00
Andrea Boriero 2731fe541a HHH-100084 - Refactor Identity Column support methods into IdentityColumnSupport interface 2015-09-08 19:03:03 +01:00
Radim Vansa d9b456b03a HHH-10058 Parameterized test runner compatible with CustomRunner 2015-09-01 12:04:42 -05:00
Kamil Szymanski 5f5e5f82c4 HHH-9593 Remove superfluous references to enclosing class
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-core/src/main/java/org/hibernate/internal/SQLQueryImpl.java
	hibernate-core/src/main/java/org/hibernate/service/internal/JaxbProcessor.java
2015-08-26 15:55:45 -04:00
Steve Ebersole 3192e1db92 HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation 2015-08-04 21:11:18 -05:00
Radim Vansa 4fd7680191 HHH-9977 Consider options for passing Session to caching SPI calls
* Passing SessionImplementor to all the calls executed in transactional context
2015-07-28 17:56:55 +01:00
Steve Ebersole 37cc060b45 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-23 12:25:40 -05:00
Steve Ebersole b24ba54d38 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-20 12:06:34 -05:00
Steve Ebersole 6812c07a16 HHH-9946 - Do better job cleaning up "stray" transactions in base test 2015-07-18 14:20:02 -05:00
Steve Ebersole 0d6393a8b1 HHH-9887 - Make sure the JPA temp ClassLoader is not used to load Class definitions that are then held on to 2015-07-02 02:50:12 -05:00
Radim Vansa e5f4b616d4 HHH-9840 Checkstyle fixes 2015-07-01 23:19:46 +01:00
Radim Vansa cffe71aeba HHH-9840 Change all kinds of CacheKey contract to a raw Object
* Replaced all CacheKey with Object
* Because of statistics, added unwrap operation to all AccessStrategies
2015-07-01 23:14:13 +01:00
Sanne Grinovero 16ae00a53a HHH-9840 Allow 2nd level cache implementations to customize the various key implementations 2015-07-01 20:42:51 +01:00