Commit Graph

7227 Commits

Author SHA1 Message Date
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
Gail Badner 3da42d03ee HHH-11274 : test cases 2017-05-09 14:40:14 -07:00
Gail Badner 09c5b36797 5.1.6 2017-05-05 21:21:35 -07:00
Gail Badner 11495551a8 5.1.6 2017-05-05 20:40:04 -07:00
lsiu bc094901e0 Fix HHH-11352 - the Pattern at buildShallowIndexPattern where "wordBoundary==true" should wrap the pattern properly with '\b'
(cherry picked from commit 56f7466d52)
2017-05-04 22:55:52 -07:00
Chris Cranford a85bd30aaa HHH-11145 - Fix limit handler to ignore regex search keywords that are quoted.
(cherry picked from commit 0e2b2f11e7)
2017-05-04 22:46:59 -07:00
Chris Cranford f7eb28bd20 HHH-11324 - Fix LimitHandler parsing of subqueries in the select clause for SQLServer2005Dialect.
(cherry picked from commit 087729c023)
2017-05-03 21:55:04 -07:00
Chris Cranford 6b928f9379 HHH-11324 - Added test cases.
(cherry picked from commit db1dfd6908)
2017-05-03 21:47:19 -07:00
Gail Badner 20db4bfd1a HHH-11499 : Add a new DB2 dialect that uses "cross join" for cross joins instead of ","
(cherry picked from commit 19e585bf9d)
2017-04-12 22:15:34 -07:00
Jan Martiska 461f6feac2 HHH-11262 : prevent InsertOrderingWithJoinedTableMultiLevelInheritance from freezing 2017-04-03 15:39:49 -07:00
Gail Badner 1e10e3e727 HHH-11459 : Improve fix 2017-03-27 21:46:59 -07:00
barreiro ba86f10378 HHH-11459 - Test case
(cherry picked from commit 2779ebd8f0)

HHH-11459 : Correct test case to work on pre-5.2 versions

HHH-11459 - Do not fetch a collection on cascade, resolve it instead

(cherry picked from commit 41bd06266d)

HHH-11459 - Always resolve unloaded, lazy collection in enhanced entity when cascading; added comments

(cherry picked from commit 0b6ce73fcc)

HHH-11459 : Add entity names to avoid Oracle test failures

(cherry picked from commit 28f3148f7b)

HHH-11459 : Correct fix to work on pre-5.2 versions
2017-03-26 21:51:54 -07:00
barreiro f20acbb972 HHH-11576 - Test case
(cherry picked from commit 8f495505e5)

HHH-11576 : Correct test case to work on pre-5.2 versions

HHH-11576 - Process unfetched collections on Flushvisitor to determine reachability

(cherry picked from commit a5c7087316)
2017-03-26 21:51:01 -07:00
Gail Badner 3941dc6352 5.1.5 2017-03-13 23:28:26 -07:00
Gail Badner 3185156860 5.1.5 2017-03-13 23:14:11 -07:00
barreiro a9022e5b04 HHH-11506 - Fix update of lazy attributes when there are attributes not loaded
HHH-11506 - Deprecate methods

HHH-11506 : Added original TypeHelper#findModfied and deprecated; changed deprecated methods to call the new methods.

(cherry picked from commit aaebcdf454)
2017-03-13 19:49:38 -07:00
Gail Badner 3b754886f1 HHH-11516 : Level two cache may not be enabled when using @Cacheable without/instead of @Cache
(cherry picked from commit 7c870acc59913f16d35b609b31d7b0286fa2aee3)
2017-03-13 01:00:53 -07:00
Gail Badner f1abc98960 HHH-11516 : test case 2017-03-13 00:52:22 -07:00
Gail Badner f0a520162e HHH-10930 - Add explicit dependency on JTA to the maven enhacer plugin
(cherry picked from commit 50ee618f1e)
2017-03-09 21:28:04 -08:00
Gail Badner 22340de8ec hibernate-spatial checkstyle fix 2017-02-28 00:26:37 -08:00
Gail Badner 3e1cb857d6 Revert "HHH-11198 - Fixed checkstyle errors"
This reverts commit 84135d4c0f.
2017-02-27 23:28:28 -08:00
Gail Badner 19ae3a8220 Revert "HHH-11198 - Add Geometry cast to Postgis st_extent() function"
This reverts commit af301bc9ba.
2017-02-27 23:25:35 -08:00
Gail Badner 23688a7703 Revert "HHH-11198 - Fix checkstyle error"
This reverts commit 1679e205cc.
2017-02-27 23:24:40 -08:00
Gail Badner 8c78df5d04 HHH-11530 : IdentityGeneratorExtendsTest.testIdentifierGeneratorExtendsIdentityGenerator failing on Oracle DBs
(cherry picked from commit 7ae3e1c3b7)
2017-02-27 18:05:38 -08:00
Gail Badner c1eb43882e HHH-10889 - Fix unit tests failing on Oracle 2017-02-27 14:16:37 -08:00
Gail Badner 353a548be3 HHH-10689 : hibernate-envers AssociationToOne*QueryTest fail on Oracle due to keyword usage 2017-02-23 15:53:21 -08:00
Steve Ebersole 8ee4519fc5 HHH-11400 - HHH90000016: Found use of deprecated 'collection property' issue for valid JPQL query
(cherry picked from commit 2dca5f2ceb)
2017-02-23 13:53:49 -08:00
Gail Badner 4b23a68a8c HHH-11434 : Fix tests to work with pre-5.2 2017-02-23 13:50:19 -08:00