Commit Graph

8342 Commits

Author SHA1 Message Date
Gail Badner 75c2a6d619 HHH-12508 : SessionFactoryOptions#isSecondLevelCacheEnabled returns true by default with NoCachingRegionFactory 2018-04-25 12:18:28 -07:00
Gail Badner c2d98d78ea HHH-12508 : test cases
(cherry picked from commit 66d7196168)
2018-04-25 11:43:21 -07:00
Chris Cranford 01a87d4abd HHH-12373 - Improve javadoc to avoid confusion about method expectations.
(cherry picked from commit 80ce45e)
2018-04-24 09:54:43 -04:00
Gail Badner e06062d6f6 HHH-11766 : Pre-pend default cache prefix to entity names in tests 2018-04-20 16:31:01 -07:00
Gail Badner e8929e6eec HHH-11766 : Accessing lazy basic property on entity loaded from 2nd level cache throws exception
(cherry picked from commit 01ba7d9565)
2018-04-20 16:02:52 -07:00
Gail Badner 180eca3e44 HHH-11766 : Fix test case to work in 5.2 branch 2018-04-20 15:57:55 -07:00
Gail Badner ddfb486f15 HHH-11766 : test case
HHH-11766 : Renamed and updated test to be more comprehensive; added another test with a lazy basic value
(cherry picked from commit 1c151f956d)
2018-04-20 15:41:04 -07:00
Andrea Boriero 7ccf3d8a6e HHH-12510 - Update PostgreSQL driver 2018-04-20 12:25:32 +01:00
Gail Badner 1f70ef7494 HHH-12507 : InsertOrderingWithCompositeTypeAssociation test fails on Oracle due to reserved word
(cherry picked from commit c7ea49a0b3)
2018-04-19 14:16:43 -07:00
Chris Cranford 00358fffd7 HHH-10667 - Fix Envers allowing @IdClass mappings using entity primary keys.
(cherry picked from commit 27a6b5d)
2018-04-18 10:44:09 -04:00
yinzara fbf93d0962 HHH-10667 - Added test case.
(cherry picked from commit 1ae930e)
2018-04-18 10:44:02 -04:00
Steve Ebersole 8510b6c0ef HHH-12499 - SQLQuery (binary compatibility)
(cherry picked from commit e508d6bee8)
2018-04-17 18:45:42 -05:00
Chris Cranford c4ad8eb64c HHH-12498 - Fix NPE when audited entity composite-key references non-audited entity.
(cherry picked from commit 11456a9892)
2018-04-17 17:26:01 -04:00
Steve Ebersole 2263b1b4a6 HHH-12496 - ProcedureCallMemento (binary compatibility)
(cherry picked from commit d9cdd58068)
2018-04-17 15:00:48 -05:00
Steve Ebersole 07560046f5 HHH-12494 - BasicQueryContract (binary compatability)
(cherry picked from commit 57543a447e)
2018-04-17 14:12:02 -05:00
Rodrigo Turini 934100c34f HHH-12451 - Fixing JDBC and Java Type order for CurrencyType 2018-04-17 12:50:36 +03:00
Rodrigo Turini 029753cc29 HHH-12365 - User Guide: call_key should change to call_timestamp_epoch 2018-04-17 12:32:31 +03:00
Anthony Richir e16dbaaf17 HHH-12491 - Document the usage of the maven-compiler-plugin for hibernate-jpamodelgen 2018-04-17 11:44:14 +03:00
Christian Beikov ba70924073 HHH-12485 - Avoid unnecessary exceptions during import class name lookup of metamodel
(cherry picked from commit 2bf323f01f)
2018-04-16 10:16:59 -05:00
Christian Beikov 436500dc13 HHH-12486 - Avoid unnecessary exceptions during entity persister lookup during query compilation
(cherry picked from commit 2de4277c34)
2018-04-16 10:14:06 -05:00
Andrea Boriero 08748481ed HHH-12454 - Offer flag to consider id generator with local scope (legacy non JPA behavior) 2018-04-16 09:53:51 -05:00
Andrea Boriero 6241215bcc HHH-12454 - Add tests for issue 2018-04-16 09:53:51 -05:00
nikowitt 833f6b50a4 HHH-12484 - Improved error output for LazyInitializationException to include entity-related info 2018-04-16 17:36:59 +03:00
Chris Cranford 0423dd6777 HHH-12424 - Fix unintended binary compatibility breaks between 5.1 and 5.3
HHH-11737 - Remove dependency upon org.hibernate.criterion package.

(cherry picked from commit c7c919f)
2018-04-16 10:33:20 -04:00
Vlad Mihalcea c48bff3681 HHH-12479 - Document the converted:: prefix for HBM type mappings 2018-04-12 16:44:15 +03:00
Jonathan Bregler 5e5d91cea2 HHH-12462 - Use SAP HANA JDBC driver from Maven Central 2018-04-05 15:05:00 +03:00
Vlad Mihalcea 8218a8de2d Fix checkstyle issues 2018-04-05 14:02:36 +03:00
Vlad Mihalcea 6be4718411 HHH-12326 - PreUpdate/PrePersist not working for @Embeddable entities 2018-04-04 10:44:36 +03:00
Vlad Mihalcea 58d5cf9271 HHH-12387 - Immutable entities can be updated via bulk update queries
Fix checkstyle issues
2018-04-03 20:34:00 +03:00
Vlad Mihalcea c769fc5ff6 HHH-12387 - Immutable entities can be updated via bulk update queries 2018-04-03 14:08:38 +03:00
barreiro 3ebbc221c6 HHH-12389 - Remove usage of javax.script.ScriptEngine in MixedAccessTest 2018-04-03 11:43:50 +03:00
Gail Badner bf39f1f8f2 HHH-12166 : AbstractCompositionAttribute#getAttributes throws NPE for nested CompositeCustomType
(cherry picked from commit 216ad13e6c)
2018-03-29 17:35:58 -07:00
Gail Badner 0f85944af1 HHH-12166 : test case
(cherry picked from commit 05404eff0f)
2018-03-29 17:35:03 -07:00
helloztt fe619ceb08 HHH-12338 - Incorrect metamodel for basic collections 2018-03-29 17:54:46 +03:00
Gail Badner 139f354873 HHH-12439 : Merging of new entities can fail depending on cascade order
(cherry picked from commit c10dbe9d9c)
2018-03-28 11:41:32 -07:00
Christian Beikov 2a11a1db9b HHH-3930 Test and fix for unnecessary query that is issued when fetching inverse one-to-one 2018-03-28 15:28:48 +03:00
Philippe Marschall eed7f70751 HHH-11806 - Add support for MariaDB 10.3
HHH-11769 - New MariaDB Dialect for MariaDB >= v10.1
2018-03-28 11:05:17 +03:00
Jonathan Bregler 4b21dbac19 HHH-12426 - SAP HANA spatial dialect should support all SAP HANA spatial functions 2018-03-28 10:52:34 +03:00
Andrea Boriero 593d93d28f HHH-12391 - with IronJacamar an EntityTransaction.rollback() with a non active Transaction that was marked for rollback only causes a failure 2018-03-26 16:44:41 +01:00
Andrea Boriero fdadd973ac HHH-12391 - Add test for issue 2018-03-26 16:44:24 +01:00
Gail Badner 76e3bead49 HHH-12226 : ObjectNotFoundException thrown when @NotFound(action = NotFoundAction.IGNORE) used with enhancement
(cherry picked from commit 9fe24e7e6d)
2018-03-23 15:44:43 -07:00
Vlad Mihalcea 2903551b19 HHH-12419 - Incorrect batch inserts example 2018-03-22 16:15:56 +02:00
Andrea Boriero cb3d3c0fd7 5.2.16 2018-03-22 12:12:57 +00:00
Andrea Boriero 20a5319733 5.2.16 2018-03-22 11:28:14 +00:00
Andrea Boriero 92d4b255e1 HHH-5797 HHH-2558 - Fix tests failing on PostgreSQL and MariaDB 2018-03-22 10:58:31 +00:00
Andrea Boriero d893386f96 HHH-12392 - Caching SchemaResolver delegate with multiple data sources 2018-03-21 16:56:44 +00:00
Andrea Boriero dcc188efc5 HHH-12375 - HHH-12383 - Remove path from AbstractPropertyMapping#typesByPropertyPath for imcompatible type properties 2018-03-21 16:04:33 +00:00
Andrea Boriero 47d3c13aa6 HHH-12375 - Add more tests 2018-03-21 16:04:19 +00:00
Christian Beikov 5d9675c75e HHH-12383 - Type check existing type to avoid class cast exceptions related to type incompatible same named attributes being used in subtypes 2018-03-21 16:04:07 +00:00
Christian Beikov c8217d9f09 HHH-12375 Fix for eager loading same named properties with conflicting types 2018-03-21 16:03:54 +00:00