Commit Graph

7296 Commits

Author SHA1 Message Date
Gail Badner ddc24e8659 HHH-12687 : fix test case to work in 5.1 2018-06-15 15:31:09 -07:00
Gail Badner b73f0d90e6 HHH-12687 : ManyToOne associations in embeddable collection elements and composite IDs are always eagerly loaded
(cherry picked from commit 607e51617e)
2018-06-15 15:15:47 -07:00
Gail Badner aa57cd2c57 5.1.14 2018-05-11 14:26:41 -07:00
Gail Badner 19073ba270 5.1.14 2018-05-11 13:51:23 -07:00
Gail Badner 0de7fd9e9b HHH-12562 : Remove DefaultSchemaNameResolver#delegate since the value should not be cached 2018-05-10 17:13:10 -07:00
Gail Badner 26b5dca21f HHH-12392 : Caching SchemaResolver delegate with multiple data sources 2018-05-10 17:04:12 -07:00
Gail Badner 432420beb2 HHH-12423 : Fix test to work on pre-5.2 2018-05-10 16:49:21 -07:00
Vlad Mihalcea 2366fc89ab HHH-12423 - SecondaryTable is not taking into account the schema while mapping the entity
(cherry picked from commit 511a5a3618)
2018-05-10 16:26:22 -07:00
Gail Badner b1365c667c HHH-12520 : NPE is thrown by CacheImpl#getSecondLevelCacheRegion 2018-05-07 17:13:34 -07:00
Gail Badner 3ed0bbbdcf HHH-12508 : SessionFactoryOptions#isSecondLevelCacheEnabled returns true by default with NoCachingRegionFactory
(cherry picked from commit 75c2a6d619)
2018-05-07 17:13:34 -07:00
Gail Badner a21ba7dfc4 HHH-12508 : test cases
(cherry picked from commit 66d7196168)
2018-05-07 17:13:34 -07:00
Gail Badner 1e6cbc4a10 HHH-11766 : Accessing lazy basic property on entity loaded from 2nd level cache throws exception
(cherry picked from commit 01ba7d9565)
(cherry picked from commit e8929e6eec)
2018-05-07 16:57:17 -07:00
Gail Badner 29771421b2 HHH-11766 : test case
HHH-11766 : Renamed and updated test to be more comprehensive; added another test with a lazy basic value
(cherry picked from commit 1c151f956d)
(cherry picked from commit ddfb486f15)

HHH-11766 : Fix test case to work in 5.2 branch

(cherry picked from commit 180eca3e44)

HHH-11766 : Fix test case to work in 5.1 branch

HHH-11766 : Pre-pend default cache prefix to entity names in tests
2018-05-07 16:57:17 -07:00
Gail Badner 3f49cf09c3 HHH-11615 : Avoid wrapping an AuditException in another AuditException
(cherry picked from commit 87a37b02f4)
2018-04-30 16:26:30 -07:00
Chris Cranford 4c2961f8d0 HHH-11615 - Fix Envers to run under WildFly's SecurityManager.
(cherry picked from commit ed69c7c5b6)
2018-04-30 16:26:30 -07:00
Gail Badner abbacafbae HHH-11617 : Fix CheckStyle failures 2018-04-27 17:40:25 -07:00
Gail Badner d6ab67ac50 HHH-11617 : Move helpers to hibernate-testing so tests in hibernate-entitymanager can access them 2018-04-27 16:59:00 -07:00
Gail Badner 0fbaac8480 HHH-11617 - Statement leak in case of 'SQLGrammarException: could not extract ResultSet' 2018-04-27 16:26:28 -07:00
Gail Badner 34df214981 HHH-11617 : Update test to work on 5.1 2018-04-27 16:15:27 -07:00
Gail Badner 95e3ca1831 HHH-11617 : Change test timeout to 10 seconds 2018-04-27 14:08:50 -07:00
Gail Badner bb6524a945 HHH-11617 : test case 2018-04-27 14:08:50 -07:00
Viefhaus f507a5bd72 HHH-12512 : LazyGroupMappedByTestTask fails on Oracle (5.1)
Testcase for HHH-11986 added

HHH-11986 : Changed test code to follow conventions of other bytecode enhancement tests; reformatted test code
(cherry picked from commit 3292a83223)
(cherry picked from commit 742849303f)
2018-04-20 14:38:40 -07:00
Gail Badner 34c9da77ad HHH-12507 : InsertOrderingWithCompositeTypeAssociation test fails on Oracle due to reserved word
(cherry picked from commit c7ea49a0b3)
2018-04-19 14:24:57 -07:00
Gail Badner 37e39d9ca4 HHH-12439 : Fix test to work on pre-5.2 versions 2018-03-28 13:24:51 -07:00
Gail Badner 2148f4add6 HHH-12439 : Merging of new entities can fail depending on cascade order 2018-03-28 12:02:38 -07:00
Gail Badner 892103430d HHH-12226 : Fix test cases to work in pre-5.2 versions 2018-03-23 17:17:29 -07:00
Gail Badner e1d41fdff2 HHH-12226 : ObjectNotFoundException thrown when @NotFound(action = NotFoundAction.IGNORE) used with enhancement
(cherry picked from commit 9fe24e7e6d)
2018-03-23 15:54:50 -07:00
Gail Badner 82bfce5fcd HHH-12418 : Cannot build integration guide 2018-03-21 17:39:21 -07:00
Gail Badner b5ae649ae5 5.1.13 2018-03-19 22:19:11 -07:00
Gail Badner 1beb98b560 5.1.13 2018-03-19 20:28:37 -07:00
Gail Badner 1546ba9cfa HHH-12355 : Update test to work in hibernate-core in pre-5.2 versions 2018-03-19 18:27:02 -07:00
Chris Cranford 32e924aa4b HHH-12355 - Fix ordered insert failures with composite types having associations.
(cherry picked from commit 493c968141)
2018-03-19 18:27:02 -07:00
Andrea Boriero 6cd6da53b3 HHH-12113 - Fix Checkstyle error
(cherry picked from commit f0d49c5be4)
2018-03-19 18:27:02 -07:00
Vlad Mihalcea 28894f7fa9 HHH-12113 - The JDBC batch sorting algorithm can be simplified due to latest modifications
(cherry picked from commit 47382f69cc)
2018-03-19 18:27:02 -07:00
Gail Badner 6295238f73 HHH-12105 : update test to work on pre-5.2 versions 2018-03-19 18:27:02 -07:00
Anders Wallgren 12207f5139 HHH-12105 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
(cherry picked from commit 7a32ea62b6)
2018-03-19 18:27:02 -07:00
Andrea Boriero b2050b9384 HHH-12086 - Fix Checkstyle error
(cherry picked from commit d330fdcfca)
2018-03-19 18:27:02 -07:00
Vlad Mihalcea 2ac0a4fc88 HHH-12086 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
Add a maximum iteration threshold, to avoid a stack overflow error in case there will be circular dependency that's not properly detected

(cherry picked from commit eaeda2f41d)
2018-03-19 18:27:02 -07:00
Vlad Mihalcea f79becb47d HHH-12086 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
Fix indentation.

(cherry picked from commit 427bba4212)
2018-03-19 18:27:02 -07:00
Gail Badner 7c52821385 HHH-12086 : update test case to work on pre-5.2 versions
hibernate-enhance-maven-plugin/
2018-03-19 18:27:02 -07:00
Anders Wallgren 451ff728fb HHH-12086 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
(cherry picked from commit 9ae9810f85)
2018-03-19 18:27:02 -07:00
Jonathan Bregler 211f64e6fd HHH-12074 - order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
- "TOP" is a reserved key word in same database systems.

(cherry picked from commit 1616b3de37)
2018-03-19 18:27:02 -07:00
Gail Badner bd3d08e6b1 HHH-12074 : update test to work on pre-5.2 versions 2018-03-19 18:27:01 -07:00
Anders Wallgren b341b53a77 HHH-12074 - order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
(cherry picked from commit 8530584fad)
2018-03-19 18:27:01 -07:00
Gail Badner 6070502ed6 HHH-12406 : Add a test for HHH-11440 2018-03-19 18:06:32 -07:00
Gail Badner 7f0d06a757 HHH-12059 HHH-11440 HHH-11286 HHH-10333 : Fix to work with jdk6 source 2018-03-19 16:21:20 -07:00
Andrea Boriero 4e005155e8 HHH-12059 HHH-11440 HHH-11286 HHH-10333 - hbm2ddl.auto=validate and hbm2ddl.auto=update do not work with Oracle and SQLServer when Jdbc driver Connection implementation does not implement getSchema()
(cherry picked from commit aaa8c65938)
2018-03-19 15:12:49 -07:00
Vlad Mihalcea f54a755823 HHH-11986 - @LazyGroup is ignored on LazyToOne association with 'mappedBy'
Fix tests failing on MariaDB

(cherry picked from commit 20422cd76a)
2018-03-08 16:13:54 -08:00
Viefhaus cd5673c8db HHH-11986 - @LazyGroup is ignored on LazyToOne association with 'mappedBy'
HHH-11986 - Re-format fix code to follow code conventions

(cherry picked from commit 4531b22e92)
2018-03-08 16:13:54 -08:00
Gail Badner 083b36d739 HHH-11986 : test case updated to work pre-5.2
HHH-11986 : test case updated to work pre-5.2
2018-03-08 16:12:52 -08:00