Commit Graph

7443 Commits

Author SHA1 Message Date
Chris Cranford 630d4f96b4 HHH-11277 - Fix checkstyle error. 2016-11-28 12:25:50 -05:00
Chris Cranford e75e2d78bd HHH-11277 - Fix checkstyle error. 2016-11-28 12:04:39 -05:00
Christian Beikov 46727d5af3 Wrong handling of parameter for TOP clause fixed
I encountered this because the dialect resolver apparently couldn't figure out the dialect for SQL-Server 2016.
2016-11-28 12:04:39 -05:00
Vlad Mihalcea 26c0b5b5cb Fix test broken on some machines 2016-11-28 16:47:49 +02:00
Vlad Mihalcea 8f3d58601d HHH-11186 - Add examples for all Hibernate annotations
Document more annotations:

- @FilterJoinTable
2016-11-25 15:50:02 +02:00
Andrea Boriero 91ebadb209 5.2.5 2016-11-24 15:07:06 +00:00
Andrea Boriero 1053f16618 5.2.5 2016-11-24 12:34:38 +00:00
Cédric Tabin bba75c5877 Fix the property name to respect the other related classLoader properties declaration 2016-11-24 11:15:29 +00:00
Cédric Tabin b38a9f40ac Usage of the Locale.ROOT constant to convert the hibernate.classloading.tccl_lookup_precedence property correctly 2016-11-24 11:15:29 +00:00
Cédric Tabin 6cae4adabb Improvement of the AggregatedClassLoader implementation to use one iterator for each type of TcclLookupPrecedence 2016-11-24 11:15:29 +00:00
Cédric Tabin 346941dcb7 The enum TcclLookupPrecedence is a single public enum, detached from the ClassLoaderService interface because it is only implementation-specific 2016-11-24 11:15:29 +00:00
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