Commit Graph

6900 Commits

Author SHA1 Message Date
Andrea Boriero 02c86507ba HHH-8488 - Fix Join, CollectionJoin, SetJoin, ListJoin, MapJoin CriteriaBuilder#treat SetJoin behaviour
(cherry picked from commit 20f68d43a4)
2016-08-10 15:14:22 -07:00
Gail Badner abf80cae81 HHH-8488 : Move tests to hibernate-entityManager 2016-08-10 15:14:22 -07:00
Andrea Boriero 18fb5d9168 HHH-8488 - Add tests for issue
(cherry picked from commit 9d20d3ab03)
2016-08-10 15:14:22 -07:00
Vlad Mihalcea 80770ab13b HHH-10523 - 2.3.20. SQL quoted identifiers in User Guide should discuss explicit enclosure in double-quotes (JPA) 2016-08-10 11:12:15 +03:00
Andrea Boriero cdb11f9be2 HHH-10695 - Fix MySQL should not use the NCLOB type
(cherry picked from commit 455d86307b)
2016-08-09 16:29:41 -07:00
Andrea Boriero f8393c9c20 change mysql config
(cherry picked from commit 34b63336a6)
2016-08-09 16:29:22 -07:00
Andrea Boriero 23b5ef5ae5 HHH-10693 - Fix PostgreSQL should not use nvarchar when using Nationaliztaion
(cherry picked from commit 513c2358f7)
2016-08-09 16:01:40 -07:00
Andrea Boriero 4b7da02b66 HHH-10693 - Change test to run with PostgreSQL dialect
(cherry picked from commit c1023ac49e)
2016-08-09 16:01:21 -07:00
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