Commit Graph

7632 Commits

Author SHA1 Message Date
Cédric Tabin c2330c29f6 The enum TCCLLookupBehavior has been renamed to TcclLookupPrecedence and is not mutable during runtime. 2016-11-24 11:15:29 +00:00
Cédric Tabin b31d080a57 Setting hibernate.classloader.tccl_lookup renamed to hibernate.classloader.tccl_lookup_precedence to better reflect its purpose 2016-11-24 11:15:29 +00:00
Cédric Tabin 726305f33e New setting "hibernate.classloader.tccl_lookup" to allow the configuration of the thread context classloader lookup.
The bootstrap classloader context is not stored anymore in the ClassLoaderService because on Glassfish 4.1.1, the former
will be closed after bootstrap, causing huge warning and stacktraces occurs in the log each time a HQL query has to
be compiled.

See ticket HHH-11245 for details.
2016-11-24 11:15:29 +00:00
Andrea Boriero b0fad884f0 HHH-11269 - Fix JPA & JTA - Error during managed flush [Session/EntityManager is closed] on flush-time cascades 2016-11-24 11:13:25 +00:00
Andrea Boriero f8d2cbdcba HHH-11269 - Add test for issue 2016-11-24 10:12:48 +00:00
Chris Cranford aa3f913857 HHH-11194 - Add setting to allow enabling legacy 4.x LimitHandler behavior (removed delegation).
Fix broken test on SQL Server and propagate the legacy behavior even when we extend the SQL Server of the Ingres base Dialects
2016-11-24 10:49:45 +02:00
Steve Ebersole 9219c67da6 HHH-11248 - Warn user when multiple persistence-units use the same name 2016-11-23 09:53:32 -06:00
Andrea Boriero c16a22b0fc HHH-11258 - Fix checkStyle error 2016-11-23 15:04:57 +00:00
Andrea Boriero cc5a13a3f0 HHH-11217 - SessionImpl.refresh() throws IllegalArgumentException, 'not an Entity' when using custom entity name 2016-11-23 14:52:11 +00:00
Andrea Boriero f9a408815e HHH-11217 - Add test for issue 2016-11-23 14:52:11 +00:00
Andrea Boriero aa5f893267 HHH-11216 - @ElementCollection for enumerations is failing when enabling insert ordering 2016-11-23 15:06:39 +02:00
Christian Beikov 801974fa4c Fix for HHH-11258 2016-11-23 06:32:08 -06:00
Christian Beikov 4d076111a3 Test case for HHH-11258 2016-11-23 06:32:08 -06:00
Radim Vansa 45a65daf02 HHH-11083 Fix compilation failures in hibernate-jcache 2016-11-23 11:02:33 +01:00
Gail Badner 30974c1cd4 HHH-11083 : Change references to "OldCacheKeyImplementation" to "CacheKeyImplementation" in MultTenancyTest; also override addSettings to use DefaultCacheKeysFactory 2016-11-22 23:29:07 -08:00
Gail Badner 61ca5c220b HHH-11083 : Change references to "OldCacheKeyImplementation" to "CacheKeyImplementation" in CacheKeysFactoryTest 2016-11-22 22:50:23 -08:00
Gail Badner 60d420b011 HHH-11083 : clarify that hibernate.cache.keys_factory is only supported when using Infinispan 2016-11-22 22:31:26 -08:00
Radim Vansa 6d8f93c103 Document `hibernate.cache.keys_factory` 2016-11-22 22:00:44 -08:00
Radim Vansa bf08752d3a HHH-11083 Un-deprecate OldCacheKeyImplementation and OldNaturalCacheKey 2016-11-22 22:00:44 -08:00
Radim Vansa 9c376a39f9 HHH-11083 WrongClassException using Infinispan and sharing cache regions
* DefaultCacheKeysFactory implements CacheKeysFactory, therefore it can be used in hibernate.cache.keys_factory
* Use DefaultCacheKeysFactory by default
* Add "default" and "simple" as short names for those factories
2016-11-22 22:00:44 -08:00
Chris Cranford b1a9676146 HHH-11215 - Fix NullPointerException when collection of embeddables reference an unaudited entity. 2016-11-22 23:54:36 -05:00
Chris Cranford 1e030b2dc4 HHH-11215 - Added test case. 2016-11-22 23:54:36 -05:00
Chris Cranford 468ed1b609 HHH-11205 - Fixed nationalization support when field type is char. 2016-11-22 15:05:37 -05:00
Chris Cranford 1b8d94ddba HHH-11205 - Added test case. 2016-11-22 15:05:37 -05:00
Radim Vansa 180f16dbae HHH-11267 Fix JBossStandaloneJtaExampleTest 2016-11-22 17:34:08 +00:00
Radim Vansa d4f240b439 HHH-11267 Fix Entity- and CollectionRegionAccessStrategyTest 2016-11-22 17:34:08 +00:00
Radim Vansa b976e85f06 HHH-11267 Fix SessionRefreshTest
* Refactor common code from NonTx- and TxInvalidationInterceptor to common base
2016-11-22 17:34:08 +00:00
Radim Vansa 6aaaf37d6f HHH-11267 Fix BulkOperationsTest and ReadWriteTest 2016-11-22 17:34:07 +00:00
Radim Vansa 4508a9e654 HHH-11267 Fix TombstoneTest 2016-11-22 17:34:07 +00:00
Radim Vansa 0728f7b35e HHH-11268 Changes required after upgrading to Infinispan to 8.2 2016-11-22 17:33:52 +00:00
Radim Vansa 865d5398c2 HHH-11226 Hibernate cache throws NullPointerException during wildfly app server startup 2016-11-22 17:20:30 +00:00
Paul Ferraro a21c086537 HHH-11254 Timestamps cache fails validation if eviction strategy = MANUAL 2016-11-22 17:10:40 +00:00
Sanne Grinovero c308bcbe7d HHH-11271 Fix hidden failure in InfinispanRegionFactoryTestCase#testTimestampValidation 2016-11-22 17:02:31 +00:00
Sanne Grinovero 66b46c1efe HHH-11270 Upgrade to Infinispan 8.2.5.Final 2016-11-22 16:41:16 +00:00
Gail Badner 3e52340a92 HHH-11241 : test case (failing tests marked with FailureExpected) 2016-11-18 17:31:32 -08:00
Vlad Mihalcea 4e5648dc8a SQL Server Driver is now on Maven Central 2016-11-18 17:39:14 +02:00
Vlad Mihalcea cc1730fb01 HHH-11186 - Add examples for all Hibernate annotations
Document more annotations:

- @Fetch along with SELECT, SUBSELECT, and JOIN FetchMode
2016-11-18 16:50:59 +02:00
Brett Meyer de346827d0 HHH-11152 add bytebuddy to osgi testing-bundles.xml, explicitly import javassist in envers (temporarily) 2016-11-17 13:58:49 -05:00
Chris Cranford af78f17eb8 HHH-11214 - Fix validity audit strategy auditing nested collections with null property values. 2016-11-17 12:48:44 -05:00
Chris Cranford c3c08728bc HHH-11214 - Add test case. 2016-11-17 12:48:44 -05:00
Vlad Mihalcea 74a789e617 HHH-11255 - NaturalId mapping fails when using a composite natural identifier
Add support for adding unique constraints to composite entity properties, like when using a @NaturalId with an @Embedded property
2016-11-17 17:01:19 +02:00
Chris Cranford 95b1e27902 HHH-11250 - Improved exception message for invalid filter parameter name format. 2016-11-16 22:45:37 -05:00
Chris Cranford 7e160d7b49 HHH-11250 - Fixed NullPointerException when defined filter name contains a dot. 2016-11-16 22:45:37 -05:00
Chris Cranford 1d294cb23d HHH-11250 - Added test case. 2016-11-16 22:45:37 -05:00
Steve Ebersole 2e49586adc HHH-11152 - Byte Buddy BytecodeProvider 2016-11-16 13:46:24 -06:00
Rafael Winterhalter ba3359fe62 HHH-11152: Added BytecodeProvider based on Byte Buddy 2016-11-16 13:18:46 -06:00
Steve Ebersole 31a60b84c6 test for https://forum.hibernate.org/viewtopic.php?f=1&t=1043787&p=2490859#p2490859 (jira coming) 2016-11-16 11:00:34 -06:00
Vlad Mihalcea 4960da8471 HHH-11186 - Add examples for all Hibernate annotations
Document more annotations:

- @DynamicInsert
- @DynamicUpdate
- OptimisticLockType
- @SelectBeforeUpdate
2016-11-16 18:02:16 +02:00
Vlad Mihalcea d215abbaea HHH-11233 - JPA SQL function with no arguments can only be called if we provide a comma 2016-11-16 13:18:41 +02:00
Livier 7a7bfa88cb Modify link of pull requests to a valid URL 2016-11-15 18:42:58 +02:00