Commit Graph

7204 Commits

Author SHA1 Message Date
Gail Badner 473f43cdd5 HHH-11818 : ClassCastException when binding a MaterializedNClobType as NClob
(cherry picked from commit 3f2c36ab69)
2017-06-14 13:15:45 -07:00
Steve Ebersole 8701d1044c HHH-11296 - Incorrect handling of NCLOB streaming
(cherry picked from commit 0ab2992a9a)
2017-06-14 13:15:01 -07:00
Gail Badner 30c0b96c92 HHH-11296 HHH-11818 : Fix test to work for pre-5.2 2017-06-14 13:10:40 -07:00
Gail Badner 4df2559816 HHH-11818 HHH-11296 : Added tests
(cherry picked from commit 515e45e382)
2017-06-14 13:08:34 -07:00
Gail Badner 65df88dfb8 HHH-11133 : Fix test case to work pre-5.2 2017-06-09 15:19:53 -07:00
Chris Cranford 0510ea8954 HHH-11133 - Add discriminator-value attribute support for joined-subclass hbm mapping elements.
(cherry picked from commit 2d03ba9747)
2017-06-09 15:03:20 -07:00
Andrea Boriero 2857189765 HHH-11536 - Fix unit tests failing on Oracle
(cherry picked from commit e54ce7b266)

HHH-11536 - Fix unit tests failing on Oracle

(cherry picked from commit dd895c78b6)
2017-06-08 19:37:33 -07:00
Christian Beikov ee41f4b046 HHH-11450 : Checkstyle fix
(cherry picked from commit 57f156769b)
2017-06-07 20:45:17 -07:00
Gail Badner 10bc06dcc8 HHH-11450 : Fixed test case to work pre-5.2 2017-06-07 16:41:33 -07:00
Christian Beikov de4622f9ad HHH-11450 : Introduced table group joins
(cherry picked from commit 753858ce73)
2017-06-07 16:40:18 -07:00
Christian Beikov 9786a17490 Test and fix for HHH-11401
(cherry picked from commit 349df983f0)
2017-06-07 15:04:48 -07:00
Christian Beikov 1c81196f13 HHH-11230 - Aggregate on (mappedBy) joined column produces invalid query
(cherry picked from commit 080d65de99)
2017-06-07 14:44:06 -07:00
Christian Beikov c30c8d9dd7 HHH-11157 : Fix failing WithClauseTest
(cherry picked from commit 877a05213c)
2017-06-07 14:36:09 -07:00
Christian Beikov 908d0acdd5 HHH-11157 : Add documentation about the property
(cherry picked from commit 4ec71e2621)
2017-06-07 14:35:04 -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
Christian Beikov 4a697148e6 Fixed HHH-11157 and extended identifier handling
(cherry picked from commit 416fe7e6a8)
2017-06-07 14:33:24 -07:00
Christian Beikov 1fdaf71bd3 HHH-9329: Added testcase that demonstrates issue with join table index column usage
(cherry picked from commit 5d6678a414)
2017-06-07 14:31:54 -07:00
Christian Beikov a9923d2be7 Test and fix for HHH-9329
(cherry picked from commit 1d823ceb76)
2017-06-06 21:15:21 -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
Gail Badner b4016f92f5 HHH-10907 : add missing imports to test 2017-06-02 14:27:56 -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 d0006afb0e 5.1.7 2017-05-21 22:41:46 -07:00
Gail Badner 3d3f41224e 5.1.7 2017-05-21 22:19:15 -07:00
Gail Badner 912f57bcbf HHH-11762 - PersistenceUnitUtilImpl#getIdentifier throws MappingException for non-entity 2017-05-19 18:51:13 -07:00
Max Tian 3345de7607 HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
(cherry picked from commit 0693b54256)
2017-05-19 14:07:17 -07:00
Gail Badner 29bb4e3b2f HHH-10183 - Fix tests to work pre-5.2 2017-05-19 14:04:46 -07:00
Vlad Mihalcea bb95a2bd08 HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
Restrict test case for SQL Server only

(cherry picked from commit 22548f1127)
2017-05-19 13:44:38 -07:00
Vlad Mihalcea 75c4a87992 HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
Add replicating test case

(cherry picked from commit 2a441d7f2d)
2017-05-19 13:44:16 -07:00
Chris Cranford b4a79ee931 HHH-11410 - Fixed ManyToMany with an active Filter to apply the condition on the join.
(cherry picked from commit c87194c3fe)
2017-05-15 22:54:10 -07:00
Chris Cranford 9924bd600c HHH-11410 - Added test case.
(cherry picked from commit 10fe238688)

HHH-11410 - Fix pgsql failing test

(cherry picked from commit 8461913c5c)

HHH-11410 : Fix test to work on pre-5.2 branch
2017-05-15 22:53:31 -07:00
Benoit Lateltin d94dda3d31 HHH-11484 - Fix LocaleTypeDescriptor to handle Locale.ROOT
(cherry picked from commit 3c2939f0e5)
2017-05-15 22:19:46 -07:00
Gail Badner 8433260f37 HHH-11740 : Default MultiTableBulkIdStrategy for DB2 does not work with connection pools
(cherry picked from commit 061a1cae31)
2017-05-15 16:28:53 -07:00
Gail Badner e6573ed623 HHH-11740 : test case
(cherry picked from commit 36d09411fb)

HHH-11740 : Skip test for H2

(cherry picked from commit 6a0a6d7562)

HHH-11740 - Default MultiTableBulkIdStrategy for DB2 does not work with connection pools

- Fix tests on PostgreSQL

(cherry picked from commit 386b04872f)

HHH-11740 - Default MultiTableBulkIdStrategy for DB2 does not work with connection pools

- Made test run on H2, Oracle, SQL server, MySQL and PostgreSQL

(cherry picked from commit 733f55f362)

 HHH-11740 - Fix test case to avoid pessimistic locking exception

(cherry picked from commit cab613de11)

HHH-11740 : test case
2017-05-15 16:27:33 -07:00
Gail Badner 15a7c845dd HHH-11426 : Checkstyle fix 2017-05-10 22:09:01 -07:00
Gail Badner b66014b5ac HHH-11416 : Fix test to run on pre-5.2 branches 2017-05-10 16:25:42 -07:00
Chris Cranford e3c808671e HHH-11416 - Test for unrelated property joins for JOINED-based Inheritance entity mappings.
(cherry picked from commit 2e2b457d18)
2017-05-10 16:22:31 -07:00
Christian Beikov fc514dab02 HHH-11437 - Entity joins are not polymorphic
(cherry picked from commit 3d6f8eb0ff)
2017-05-10 15:18:35 -07:00
Gail Badner 698aea15be HHH-11437 : Fix test case to work on pre-5.2 versions 2017-05-10 15:18:35 -07:00
Christian Beikov 50f5ef5b94 HHH-11437 - Test for issue
(cherry picked from commit 1e8077f0e9)
2017-05-10 15:18:35 -07:00
Chris Cranford 63b37251cb HHH-11383 - Removed InvalidWithClauseException check when join alias != table alias
(cherry picked from commit 5ac46eb703)
2017-05-10 15:02:18 -07:00
Gail Badner 2523f0abbb HHH-11383 : Fix tests to work on pre-5.2 2017-05-10 14:22:34 -07:00
Chris Cranford b19e831c93 HHH-11383 - Added additional property projection test case.
(cherry picked from commit 89583fd008)
2017-05-10 14:17:37 -07:00
Chris Cranford 4729c2b13b HHH-11383 - Added test case.
(cherry picked from commit 327d0a93cd)
2017-05-10 14:17:12 -07:00
Gail Badner fd778109bc HHH-11426 - NullPointerException in getPersistenceUnitUtil().getIdentifier() on detached enhanced entity 2017-05-09 23:09:37 -07:00
Gail Badner d968423397 HHH-11426 : test case 2017-05-09 23:02:09 -07:00
Gail Badner 7c30aececf HHH-11274 - EntityManagerFactoryImpl.getIdentifier uses deprecated version of getIdentifier 2017-05-09 18:09:08 -07:00