Commit Graph

3271 Commits

Author SHA1 Message Date
Chris Cranford 80f1a6e416 HHH-11714 - Fix ordered inserts with secondary tables and inheritance.
(cherry picked from commit c6135f2db3)
2018-01-25 23:08:36 -08:00
Gail Badner 0a9aa13b2e HHH-11714 : Correct test case to work in 5.1 branch 2018-01-25 23:06:27 -08:00
Chris Cranford 980088e985 HHH-11714 - Added test case.
(cherry picked from commit f4cd82a265)
2018-01-25 23:00:48 -08:00
Chris Cranford 519e767288 HHH-11768 - Fix FK ConstraintViolationException with ordered inserts enabled and cascade persist.
(cherry picked from commit 234849d33b)
2018-01-25 22:58:34 -08:00
Gail Badner 7e4ddca5c6 HHH-11768 : Fix test case to work in 5.1 2018-01-25 22:57:08 -08:00
Chris Cranford 1a63755630 HHH-11768 - Test case
(cherry picked from commit e7e6cc53ab)
2018-01-25 22:53:25 -08:00
Vlad Mihalcea 98a98eefe5 HHH-11634 - ActionQueue#InsertActionSorter fails to generate right order
Use the same object for both the remove and the add operations

(cherry picked from commit 020414e1aa)
2018-01-25 20:59:44 -08:00
Gail Badner f1eb8672d7 HHH-11634 : Change test to reproduce issue 2018-01-25 20:55:47 -08:00
Gail Badner 06b105e100 HHH-11634 : Fix test case to work in 5.1 branch 2018-01-25 20:52:04 -08:00
Vlad Mihalcea 4fb35c10eb HHH-11634 - ActionQueue#InsertActionSorter fails to generate right order
Prove that the issue is caused by an improer bidirectional association side synchronization

(cherry picked from commit 84d61690c5)
2018-01-25 20:35:28 -08:00
Frank Langelage 25cde9d1c5 HHH-12233 : Fix NPE in CacheImpl.
HHH-12233 : Combine the 2 if statements.
2018-01-23 13:10:38 -08:00
Gail Badner f7fa11a3f4 HHH-12233 : test case 2018-01-23 12:55:45 -08:00
Gail Badner 62d8fe1c29 HHH-10418 : Fix inconsistency between SessionFactoryImpl and CacheImpl 2018-01-09 22:37:55 -08:00
Gail Badner 528ba5c9d1 HHH-10418 : Fix inconsistency between SessionFactoryImpl and CacheImpl 2018-01-09 22:37:55 -08:00
Gail Badner 25bf9b643a HHH-10418 : Fix inconsistency between SessionFactoryImpl and CacheImpl 2018-01-09 22:37:55 -08:00
Galder Zamarreño 79dbc715f4 HHH-10418 Separate region strategy collections 2018-01-09 22:37:54 -08:00
Gail Badner 40bbc56063 HHH-12075 : SQLQuery.executeUpdate() ignores SQLQuery.setTimeout()
(cherry picked from commit 712fb477e7)
2018-01-09 22:20:49 -08:00
Gail Badner 1ee2e9d1f5 HHH-12075 : Update test to work in 5.1 2018-01-09 22:20:49 -08:00
Gail Badner ea497561c3 HHH-12075 : test case
(cherry picked from commit 489bdcd6fa)
2018-01-09 22:20:49 -08:00
Gail Badner 9e421ca5aa HHH-11970 : Fixes to work in pre-5.2 2018-01-09 21:50:24 -08:00
Gail Badner 49b638a4d0 HHH-11970 : @NotFound(IGNORE) and @BatchSize
(cherry picked from commit 86f310e4cb)
2018-01-09 21:50:24 -08:00
Gail Badner cb62334f46 HHH-11970 : @NotFound(IGNORE) and @BatchSize
(cherry picked from commit 19087d9f15)
2018-01-09 21:50:24 -08:00
Gail Badner f1b6bec6ad HHH-11957 : Fix to work with jdk 1.6 source
(cherry picked from commit 2287bdd5e0)
2018-01-09 21:31:22 -08:00
Gail Badner 79f3595a56 HHH-11957 : DB2 substring method needs to be exposed in DB297Dialect
(cherry picked from commit 80937ee583)
2018-01-09 21:31:22 -08:00
Gail Badner 09a278a1b9 HHH-11957 : Fix test case to work pre-5.2
(cherry picked from commit 57e63081b7)
2018-01-09 21:31:22 -08:00
Gail Badner a983c9c37b HHH-11957 : DB2 substring method needs to be exposed in DB297Dialect
(cherry picked from commit 385a18b11b)
2018-01-09 21:31:22 -08:00
Gail Badner 659024713b HHH-11915 - DatabaseMetaData#getIndexInfo can return column names enclosed in quotes on PostgresPlus
(cherry picked from commit bb905dcb00)
2018-01-09 21:13:53 -08:00
Andrea Boriero a5839cea07 HHH-11915 - DatabaseMetaData#getIndexInfo can return column names enclosed in quotes on PostgresPlus
(cherry picked from commit 65b5e6445b)
2018-01-09 21:13:53 -08:00
Vlad Mihalcea 21d60eb008 HHH-11377 - ReflectHelper#getConstantValue should consider digits as well
(cherry picked from commit 491d7341ad)
2018-01-09 21:01:29 -08:00
Gail Badner 9e6585b804 HHH-4959 : change default for hibernate.query.conventional_java_constants to false 2018-01-09 20:53:43 -08:00
Vlad Mihalcea d0059cdef9 HHH-4959 - Concurrent HQL parsing blocks on ReflectHelper.classForName()
Exclude JPQL and Criteria API aliases when searching for a Java constant value

(cherry picked from commit 0bd7b8eac1)
2018-01-09 15:23:23 -08:00
Andrea Boriero cf88522a31 HHH-11808 - Update migration guide and documentation 2017-09-07 22:42:57 -07:00
Gail Badner 5720cdd996 HHH-11935 : Log a warning and update documentation that enabling "empty" composites is an experimental feature
(cherry picked from commit 407360d957)
2017-08-18 13:33:18 -07:00
Gail Badner 845f75c4f3 HHH-10984 HHH-10617 - fix to comply with java 1.6 source 2017-08-17 23:24:56 -07:00
Gail Badner 8c71eefcf3 HHH-10984 HHH-10617 - Fix added tests to work on pre-5.2 2017-08-17 23:03:19 -07:00
Steve Ebersole f72cc1c1d4 HHH-10984 - Have multiLoad not return (unflushed) DELETED entities;
HHH-10617 - multiLoad behavior

(cherry picked from commit 72e948514e)
2017-08-17 23:01:53 -07:00
jcibik 1c0a7a6ae6 HHH-11927 - CascadeMergeToChildBeforeParentTest should not assume the persisted entity has the id with a value of 1
(cherry picked from commit 203793be63)
2017-08-16 22:47:40 -07:00
Gail Badner 80c441cbe0 HHH-11905 - AbstractLobTest Fails on Sybase 2017-08-16 22:23:17 -07:00
Gail Badner 013daa2ca9 HHH-11910 : SchemaUpdateTest fails on databases using case-insensitive identifiers
(cherry picked from commit cc342dc072)
2017-08-04 16:51:59 -07:00
Gail Badner 70d3d617ec HHH-11904 - EnumExplicitTypeTest test assert fails on mariadb clusters 2017-08-04 11:53:42 -07:00
Gail Badner 792b16de10 HHH-11344 : fix checkstyle failure 2017-07-24 23:55:20 -07:00
Andrea Boriero db6eca861e HHH-11889 - Fix PostgreSQL failing tests
(cherry picked from commit f201d2829e)
2017-07-24 22:23:59 -07:00
Radim Vansa 4cc22a679d HHH-11344 : Prevent NPE when running with log on trace level
(cherry picked from commit 4ceb71f08a)
2017-07-19 13:43:09 -07:00
Gail Badner f413732e81 HHH-11832 : ManyToManyWithDynamicFilterTest fails on Sybase due to reserved word
(cherry picked from commit 9584b16089)
2017-06-21 20:28:10 -07:00
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
Chris Cranford 820caed4d7 HHH-11502 - Fix NPE.
(cherry picked from commit e77d18c0d1)
2017-06-14 16:21:35 -07:00
Russ Tennant f1fa8bd116 Test case for HHH-11502
(cherry picked from commit 8d726a35b1)
2017-06-14 16:18:56 -07:00
Chris Cranford 79c6c1652c HHH-11205 - Fixed nationalization support when field type is char.
(cherry picked from commit 468ed1b609)
2017-06-14 13:33:46 -07:00
Gail Badner 889dc0c1be HHH-11205 : Fix test to work for pre-5.2 2017-06-14 13:33:46 -07:00
Chris Cranford 39d6fdb0d8 HHH-11205 - Added test case.
(cherry picked from commit 1b8d94ddba)
2017-06-14 13:19:02 -07:00