Commit Graph

7242 Commits

Author SHA1 Message Date
Gail Badner f75798518a HHH-10896 : fix for checkstyle failure 2016-08-02 21:06:54 -07:00
Gail Badner 6adb92cf13 HHH-10896 : fix for checkstyle failure
(cherry picked from commit 894c6470d0)
2016-08-02 13:51:01 -07:00
Steve Ebersole 78a8fdeb95 HHH-10896 - Exception thrown when dropping schema with a managed connection
(cherry picked from commit c7c5a00167)
2016-08-02 12:19:31 -07:00
Steve Ebersole 076c7ea104 HHH-10896 - Exception thrown when dropping schema with a managed connection
(cherry picked from commit da49122113)
2016-08-02 12:19:15 -07:00
Gail Badner f8cd76f43f HHH-10896 : Corrections for backporting.
HHH-10896 : Remove TransactionCoordinatorBuilder#buildDdlTransactionIsolator; add Helper#buildDefaultDdlTransactionIsolator
2016-08-01 23:12:35 -07:00
Steve Ebersole fd38bc9df1 HHH-10896 - Exception thrown when dropping schema with a managed connection
(cherry picked from commit f4f279938d)

Conflicts:
	documentation/src/test/java/org/hibernate/userguide/multitenancy/AbstractMultiTenancyTest.java
	hibernate-core/src/main/java/org/hibernate/resource/transaction/TransactionCoordinatorBuilder.java
	hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jdbc/internal/JdbcResourceLocalTransactionCoordinatorBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionCoordinatorBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/AbstractJdbcConnectionContextImpl.java
	hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/GenerationTargetToDatabase.java
	hibernate-core/src/test/java/org/hibernate/test/tool/schema/SchemaValidatorImplTest.java
2016-08-01 22:13:26 -07:00
Vlad Mihalcea 2e42bfb209 HHH-11013 - The release task creates two documentation folders for UserGuide 2016-08-01 11:21:00 +03:00
Gail Badner 20dd7fbfbf HHH-10795 : Corrections due to backporting
(cherry picked from commit 71d799ae11)
2016-07-29 17:46:35 -07:00
Gail Badner 482515ba13 HHH-10795 : added assertions to test case
(cherry picked from commit 0d8f08b9d1)
2016-07-29 17:46:18 -07:00
Gail Badner 1ad6a1280d HHH-10795 : StatefulPersistenceContext.entityEntryContext does not work properly for ManagedEntity associated with a different StatefulPersistenceContext
(cherry picked from commit 56b22aeaac)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
2016-07-29 17:45:07 -07:00
Karel Maesen be106b319a HH-10987 - Update geolatte-geom to 1.0.4 2016-07-29 18:12:26 +02:00
Chris Cranford 2dc5236a85 HHH-10994 - Relax requirement of 'as' in the alias phrase for the MSSQL LimitHandler implementation.
(cherry picked from commit 714ba62)
2016-07-28 12:33:57 -05:00
Vlad Mihalcea a06cc89cdb HHH-11002 - Add documentation section about Filter and FilterDef
Remove @Where clause on collection since it does not work on this branch
2016-07-28 16:37:58 +03:00
Vlad Mihalcea ca9084cb53 HHH-11002 - Add documentation section about Filter and FilterDef 2016-07-28 16:19:02 +03:00
Gail Badner 5ef34ca6e2 HHH-10993 : NPE when Lazy loading collection without transaction for bytecode enhanced entitie
(cherry picked from commit 2c553f3290)
2016-07-26 17:58:44 -07:00
Gail Badner d2f428bb02 HHH-10993 : Correction to test case for 5.1 2016-07-26 17:57:13 -07:00
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