Commit Graph

7245 Commits

Author SHA1 Message Date
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
Gail Badner 1660c520ba HHH-11434 : Fix tests to work with pre-5.2 2017-02-23 12:32:19 -08:00
Andrea Boriero 4c16fd69c7 HHH-11434 - prevent failures in some tests from freezing the whole test suite
(cherry picked from commit 8f6e4d5675)
2017-02-22 21:27:11 -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
Ivan Straka 91e478a460 HHH-11456 - SequenceHiLoGeneratorTest fails due to wrong select string on SQL Server
(cherry picked from commit e46956b0f1)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/id/SequenceHiLoGeneratorTest.java
2017-02-22 21:05:48 -08:00
Jan Martiska 5f68b9a906 HHH-11419 - QueryAndSQLTest failing on MS SQL Server
(cherry picked from commit 95b858bf20)
2017-02-22 17:07:25 -08:00
Gail Badner 4f6b95afd8 HHH-11418 : Fix test case to work on pre-5.2 2017-02-22 16:47:33 -08:00
Andrea Boriero d52e805a38 HHH-11418 - SynonymValidationTest failure
(cherry picked from commit b19d76f2cc)
2017-02-22 16:45:47 -08:00
Gail Badner e44b0ccde3 HHH-10989 - Always resolve CollectionType on load so that unfetched collections have a reference stored in StatefulPersistentContext
HHH-10989 : Shorten test table names

(cherry picked from commit 55f7f71e04)
2017-02-22 15:49:01 -08:00
Gail Badner 6569161571 HHH-10989 : fix test case to work pre-5.2 2017-02-22 15:47:57 -08:00
barreiro b2356cc525 HHH-10989 - Always resolve CollectionType on load so that unfetched collections have a reference stored in StatefulPersistentContext
(cherry picked from commit 077ebbc04f)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTest.java
2017-02-22 15:47:21 -08:00
Chris Cranford 8e944ab0e0 HHH-10537 - Fixed conflict while merging changes from HHH-10557.
(cherry picked from commit 3f1111ee5c)
2017-02-21 15:42:48 -08:00
Gail Badner 6637fb08ec HHH-10537 : Fix test case to work pre-5.2 2017-02-21 15:42:22 -08:00
Christian Beikov caa984327a Fix for HHH-10537
(cherry picked from commit 5d9414257f)
2017-02-21 15:37:55 -08:00
Christian Beikov 140de50a95 Test for HHH-10537
(cherry picked from commit 72382b1e08)
2017-02-21 15:36:29 -08:00
Christian Beikov 2256b3761c Fixed HHH-10577
(cherry picked from commit 18e8be0037)
2017-02-21 15:35:08 -08:00
Chris Cranford a4974a4d2e HHH-10577 - Added additional test cases for VALUE()
(cherry picked from commit fa3171530c)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/hql/CollectionMapWithComponentValueTest.java
2017-02-21 15:34:17 -08:00
Gail Badner afee667c21 HHH-10577 : Fix test case to work pre-5.2 2017-02-21 15:29:10 -08:00
Christian Beikov c27e51c3d7 Test for HHH-10577
(cherry picked from commit f9fce8c657)
2017-02-21 15:26:59 -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
Gail Badner 70db5e4241 HHH-10919 : Fix test to work with jdk 1.6 2017-02-21 13:03:44 -08:00
Andrea Boriero 6e52712926 HHH-10919 - HQL: Sql syntax exception when joining a Map<Entity,Component>
(cherry picked from commit 65fee06bd6)
2017-02-21 12:44:23 -08:00
Vlad Mihalcea 7541a2d9e2 HHH-2643 - Improve Session.refresh() Javdoc to clarify contract
Instead of writing it in the JavaDocs, it's much more appropriate to document this behavior in the User Guide

(cherry picked from commit 5629457aa8)

Conflicts:
	documentation/src/main/asciidoc/userguide/chapters/pc/PersistenceContext.adoc
	documentation/src/test/java/org/hibernate/userguide/pc/PersistenceContextTest.java
2017-02-14 19:01:37 -08:00
Vlad Mihalcea 517877fb27 HHH-2123 - clarification on the way interceptors and event system interact.
(cherry picked from commit d126faa7d9)
2017-02-14 16:43:15 -08:00
Vlad Mihalcea 03629b617c HHH-11174 - Document that XML file mappings can reside outside of JAR
(cherry picked from commit 8bd6cf6f6b)
2017-02-14 16:34:31 -08:00
Vlad Mihalcea e932475118 HHH-11189 - Remove all links to external blog posts from User Guide
(cherry picked from commit d02b95a572)
2017-02-14 16:29:03 -08:00
Vlad Mihalcea 45c563fee8 HHH-3771 - Best practice for equals implementation
(cherry picked from commit 5ea187f035)
2017-02-14 16:28:39 -08:00
Vlad Mihalcea 36ce18335f HHH-7010 - Document mapping annotations
List and describe all JPA and Hibernate.annotations

(cherry picked from commit 2ecfd488b7)
2017-02-14 16:22:53 -08:00
Vlad Mihalcea 933a9c465f HHH-11132 - Add a Performance Tuning and Best Practices chapter
Add more details related to associations and fix typos

(cherry picked from commit cd41d71b06)
2017-02-14 16:22:14 -08:00
Vlad Mihalcea 77c537cd6a HHH-11132 - Add a Performance Tuning and Best Practices chapter
(cherry picked from commit a705b48c41)
2017-02-14 16:21:58 -08:00