Commit Graph

7026 Commits

Author SHA1 Message Date
johara 561edfbd24 HHH-10993 - Added testcase for Lazy Loaded collections outside transaction in bytecode enhanced entities
(cherry picked from commit 80e092a432)
2016-07-26 17:41:22 -07:00
Chris Cranford a345adbdc5 HHH-10968 - Test cases. 2016-07-25 21:59:40 -05:00
Chris Cranford 45460a7085 HHH-10968 - Skip EntityMode.MAP metadata when JpaMetaModelPopulationSetting is IGNORE_UNSUPPORTED. 2016-07-25 21:09:26 -05:00
barreiro 5f3209cf44 HHH-10973 - Fix 'class is frozen' when enhancing bidirectional relationships
(cherry picked from commit a9318ce656)
2016-07-21 22:30:45 -07:00
barreiro d3a059abd5 HHH-10977 - Entity not enhanced after MappedSuperclass
(cherry picked from commit 987487e106)
2016-07-21 22:30:34 -07:00
barreiro 788f0dd3cd HHH-10977 - Fix enhanced classloader so that the testsuite behaves as the enhancement plugins do
(cherry picked from commit b3aaa12b64)
2016-07-21 22:26:45 -07:00
Dmytro Bondar a41242fcef HHH-10725 - Hibernate Integrations Guide: an incorrect example LatestAndGreatestConnectionProviderImpl 2016-07-21 16:24:17 +03:00
barreiro 6ae5fc3521 HHH-10922 - Call on bytecode enhanced method trigger load of proxy
(cherry picked from commit 92c1e63577)
2016-07-19 15:57:21 -07:00
Gail Badner 58b3f69555 HHH-10922 - Correcions due to backporting 2016-07-19 15:55:39 -07:00
barreiro 1d79b5d26f HHH-10922 - Test case
(cherry picked from commit 45adb05f5a)
2016-07-19 12:48:49 -07:00
barreiro c07beabf9f HHH-10922 - Add support for custom enhancement context on bytecode enhacer tests
(cherry picked from commit 68a2896c2b)
2016-07-19 12:48:38 -07:00
Vlad Mihalcea a27a13313d HHH-10971 - Document flush operation order 2016-07-19 18:08:23 +03:00
Vlad Mihalcea 1b83be8a75 HHH-10966 - Document @DiscriminatorValue NULL and NOT_NULL options 2016-07-18 17:42:46 +03:00
Gail Badner 3e5947e20d HHH-5393 : MappingException when @MapKeyColumn refers to a column mapped in embeddable map value
(cherry picked from commit c893577efc)
2016-07-14 15:30:02 -07:00
Gail Badner 6d9cdaffde HHH-10551 : test case
(cherry picked from commit c1f3b54194)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/LazyBasicFieldNotInitializedTestTask.java
2016-07-11 18:55:34 -07:00
Gail Badner 81d211d12a HHH-10888 : PluralAttribute#isAssociation returns true for @ElementCollection
(cherry picked from commit cdd7fb66c8)
2016-07-11 14:04:36 -07:00
barreiro 60e2123337 HHH-10801 - Bytecode enhancement of @MappedSuperclass
(cherry picked from commit cdc69a475b)
2016-07-01 13:37:22 -07:00
barreiro 5b905d1ba0 HHH-10646 - [enhancer] Add support for @MappedSuperclass
(cherry picked from commit e615d76a26)
2016-07-01 13:35:07 -07:00
Gail Badner 16ae4e8104 HHH-10851 : Change to check for @Access on field and getter before checking the class containing the attribute
(cherry picked from commit 570577b653)
2016-06-30 15:00:36 -07:00
barreiro 2d3f5848e6 HHH-10851 - PropertyAccessMixed not aware of Access annotation
(cherry picked from commit 5ef1da74c2)
2016-06-30 15:00:19 -07:00
Steve Ebersole 0fddd62fc0 HHH-10863 - Improve consistency of how we call implicitNamingStrategy.determineBasicColumnName with element collections
(cherry picked from commit 5b5d2b6559)
2016-06-30 11:11:45 -05:00
Guillaume Smet af8ffdee8f HHH-10863 Add a isCollectionElement() method to AbstractAttributeKey
It allows external libraries to test for the collection element marker
without being aware of the exact syntax used as it might change in the
future.

(cherry picked from commit 7f3a3bcbcc)
2016-06-30 11:11:32 -05:00
Guillaume Smet 8e64e3ac93 HHH-10863 Be consistent in the parameter passed to
ImplicitNamingStrategy#determineBasicColumnName

When dealing with an element collection (say items.name),
ImplicitNamingStrategy#determineBasicColumnName is sometimes called
with items.collection&&element.name and sometimes with items.name.

This is due to HHH-6005 which removes the "collection&&element."
part before calling determineBasicColumnName.

With this patch, we only remove the "collection&&element." part before
calling the physical naming strategy, thus allowing us to be consistent
in the way we call ImplicitNamingStrategy#determineBasicColumnName.

(cherry picked from commit 9fd61a10db)
2016-06-30 11:11:21 -05:00
Gail Badner 8e8be9aeb4 HHH-10865 - ManyToMany relation dropped from database when lazy loading is active 2016-06-29 17:19:25 -07:00
Gunnar Morling 01b3b09cfd HHH-10812 Adapting classifier to resemble pattern known from HSEARCH 2016-06-29 21:49:01 +02:00
Gail Badner 995e76e5fb HHH-10413 : fixes required to backport 2016-06-28 23:06:53 -07:00
Gail Badner 0561093de6 HHH-10413 : byte[] as the version attribute broken
(cherry picked from commit 1d20ea4f60)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/type/BinaryType.java
2016-06-28 22:10:48 -07:00
Andrea Boriero 4f46968600 HHH-10861 - Fix nullLiteral in select expression
(cherry picked from commit 597183a3b9)

Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/expression/NullLiteralExpression.java
2016-06-28 17:57:39 -07:00
Gail Badner 57a9345959 HHH-10729 HHH-9021 HHH-10230 : Move tests to hibernate-entitymanager 2016-06-28 17:22:31 -07:00
Gail Badner 31fc318585 HHH-10729 HHH-9021 HHH-10230 : Add more checks to test cases
(cherry picked from commit 13db8b95e3)
2016-06-28 17:14:27 -07:00
Andrea Boriero 6ecd2bd472 HHH-10729 HHH-9021 HHH-10230 - Fix Issue with literals in select expression
(cherry picked from commit e71af130f0)
2016-06-28 17:14:13 -07:00
Andrea Boriero 9bf4a829c5 HHH-10729 HHH-9021 HHH-10230 - Add test for issue
(cherry picked from commit e0963d56b9)
2016-06-28 17:13:59 -07:00
Andrea Boriero f6aa53cb93 HHH-10341 - Fix failing test
(cherry picked from commit 83eb8b0f76)
2016-06-28 13:24:30 -07:00
Andrea Boriero adf41c621d HHH-10341 - Fix Specification violation in Implementation of TupleElement
(cherry picked from commit 04f1fcc762)
2016-06-28 13:24:13 -07:00
Gail Badner f32476e6c9 HHH-10341 - Move test to hibernate-entitymanager 2016-06-28 13:22:57 -07:00
Andrea Boriero c9bfcdcb10 HHH-10341 - Add test for issue
(cherry picked from commit 57b954d476)
2016-06-28 13:19:18 -07:00
Gail Badner 5b255fa0c2 HHH-10843 : Fix QuerySyntaxException when use CriteriaBuilder.concat in selectCase expression 2016-06-28 13:07:08 -07:00
Gail Badner 61d73f6214 HHH-10843 - Move test to hibernate-entitymanager 2016-06-28 12:34:20 -07:00
Andrea Boriero 9eea8266a5 HHH-10843 - Add test for issue
(cherry picked from commit a3ed7010b6)
2016-06-28 12:26:23 -07:00
Gunnar Morling 6f3be18e80 HHH-10812 Ensuring correct order of build tasks 2016-06-28 15:02:40 +02:00
Gunnar Morling 1b3e067235 HHH-10812 Addressing review remarks 2016-06-28 11:47:57 +01:00
Gunnar Morling 538412bdc4 HHH-10812 Adding documentation 2016-06-28 11:47:36 +01:00
Gunnar Morling 20ace8fea1 HHH-10812 Adding module ZIP and integration test for using Hibernate ORM 5.1 on WildFly 10 2016-06-28 11:47:36 +01:00
Vlad Mihalcea 2e7d0015be Update the Locking documentation
- add a side-by-side comparison of LockMode and LockModeType
- describe the follow-on-locking behavior
2016-06-23 16:26:30 +03:00
Gail Badner d407e73775 HHH-10648 : Backport corrections 2016-06-23 00:27:54 -07:00
Gail Badner 5006e92ce5 HHH-10648 : No MultipleBagFetchException is thrown when fetching two bags eagerly
(cherry picked from commit 59c0d48f8d)
2016-06-23 00:11:12 -07:00
Gail Badner dd2f668c97 HHH-10761 : Added test case
(cherry picked from commit d5fa58e850)
2016-06-21 16:53:00 -07:00
Gail Badner 8bc779ef92 HHH-8999 : Changed references to SharedSessionContractImplementor to SessionImplementor 2016-06-21 12:26:56 -07:00
Gail Badner 4a341be749 HHH-8999 : NullPointerException when updating or deleting multiple entities of same type with non-comparable IDs
(cherry picked from commit 6853fdae70)
2016-06-21 12:19:12 -07:00
Gail Badner 664950367d HHH-8999 : Added test cases
(cherry picked from commit 280f93add3)
2016-06-21 12:19:00 -07:00