Commit Graph

8404 Commits

Author SHA1 Message Date
Chris Cranford dd450145c0 HHH-12199 - Ignore static fields when resolving property types via reflection.
(cherry picked from commit 1d94549)
2018-04-27 16:10:23 -04:00
Chris Cranford ceb45b109e HHH-12199 - Added test case.
(cherry picked from commit b44001c)
2018-04-27 16:09:58 -04:00
Chris Cranford d3364086a9 HHH-11859 - Fix PropertyAccessException on update of detached audited entity.
(cherry picked from commit 6fb4ec0)
2018-04-27 14:43:15 -04:00
Chris Cranford 54121bdf37 HHH-11859 - Added test case.
(cherry picked from commit adb9024)
2018-04-27 14:43:00 -04:00
Vlad Mihalcea 74d0fd0dbe HHH-12469 - Add support for IN clause parameter padding to better reuse cached statements 2018-04-27 17:52:45 +03:00
Steve Ebersole 6c42a17210 HHH-12257 - Refreshing an entity clears the lock mode returned from EntityManager.getLockMode
(cherry picked from commit 12b79a5938)
2018-04-26 12:53:14 -07:00
Gail Badner 771c8fdf82 HHH-12257 : Refreshing an entity clears the lock mode
(cherry picked from commit a286232da3)
2018-04-26 12:37:51 -07:00
Andrea Boriero 2c15a5f587 5.2.17 2018-04-26 11:39:47 +01:00
Andrea Boriero f9e7e7d9e9 5.2.17 2018-04-26 11:03:06 +01:00
Andrea Boriero 3148816a60 Revert "HHH-12523 - Invoke CacheTransactionSynchronization.transactionCompleting"
This reverts commit 7c3a4b62f1.
2018-04-26 10:10:36 +01:00
Sanne Grinovero 47b4298707 HHH-12509 Reduce memory usage of PreparedStatementSpyConnectionProvider 2018-04-26 09:53:18 +01:00
Radim Vansa 7c3a4b62f1 HHH-12523 - Invoke CacheTransactionSynchronization.transactionCompleting 2018-04-26 11:32:28 +03:00
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