Commit Graph

255 Commits

Author SHA1 Message Date
Andrea Boriero 60cb3762ba HHH-13577 LockTest.testContendedPessimisticLock and StatementIsClosedAfterALockExceptionTest.testStatementIsClosed tests fail on Sybase
HHH-13577 : Re-enable LockTest for SybaseASE15Dialect
(cherry picked from commit 210aff098c)
2019-08-14 18:58:07 -07:00
Steve Ebersole 5d518cb673 HHH-11147 - Allow enhanced entities to be returned in a completely uninitialized state 2019-06-13 13:37:55 -05:00
Guillaume Smet ee6e3844d1 HHH-13138 Set the TCCL in BytecodeEnhancerRunner
We are not consistently using the ClassLoaderService and we sometimes
use the TCCL so better set it correctly.

(cherry picked from commit 2a8582be7f)
2019-03-28 09:52:26 -07:00
Guillaume Smet 91ede032c9 HHH-12555 Fix merging of lazy loaded blobs/clobs/nclobs
It's better to avoid pushing UNFETCHED_PROPERTY to the types as it
requires all the types to take it into account.

TypeHelper looks like the only sensible caller that needs change.

(cherry picked from commit 1af878166f)

HHH-12555 Add tests

(cherry picked from commit 4e05953240)

HHH-12555 : Update test to check results

(cherry picked from commit ca6dc226eb)

HHH-12555 : Remove code in LobMergeStrategy implementations that copied original Lob when target is null

(cherry picked from commit 4d0b5dc184)

HHH-12555 Add a DialectCheck for NClob support

(cherry picked from commit 855f34c771)

HHH-12555 Disable NClob test for dialects not supporting NClob

(cherry picked from commit 98249af058)
2018-12-18 09:20:27 -08:00
Vlad Mihalcea 4b51867c44 HHH-12771 - Caused by: java.lang.UnsupportedOperationException: Cache provider [org.hibernate.cache.ehcache.internal.EhcacheRegionFactory@3271ec2a] does not support `transactional` access 2018-07-13 09:43:03 +03:00
Vlad Mihalcea 1192eed560 HHH-12787 - SessionJdbcBatchTest hangs with DB2 2018-07-12 13:41:37 +03:00
Vlad Mihalcea 387bbc51c1 HHH-12749 - Avoid setting the isolation level to the same value in C3P0ConnectionProvider
Fix checkstyle issues
2018-07-02 14:15:50 +03:00
Vlad Mihalcea 6f336b850c HHH-12749 - Avoid setting the isolation level to the same value in C3P0ConnectionProvider 2018-07-02 13:36:23 +03:00
Vlad Mihalcea bcb71fcdd6 HHH-12688 - Duplicated Error Information Displayed in the Log 2018-06-26 11:12:29 +03:00
Vlad Mihalcea 8bbd22967e HHH-12710 - BaseCoreFunctionalTestCase opens an InputStream for mapping files but never closes it 2018-06-20 17:47:47 +03:00
Vlad Mihalcea 5cfb0a508c HHH-12559 - Add support for MySQL 8 SKIP LOCKED and NOWAIT 2018-05-22 12:30:59 +03:00
Steve Ebersole 9f293b113b HHH-12519 - Use Forbidden APIs library (Gradle plugin) to check our use of APIs
- fixing failures in non-core projects
2018-05-12 21:22:42 -05:00
Andrea Boriero 6cefa865b0 HHH-12454 - Offer flag to consider id generator with local scope (legacy non JPA behavior) 2018-04-16 09:47:09 -05:00
Bruno P. Kinoshita ed575e44a9 HHH-12346: Replace StringHelper#join by Java's String#join 2018-03-28 21:14:09 -05:00
Andrea Boriero 0d82dc7c83 HHH-12444 - Introduce BootstrapContext
HHH-12443 - Introduce TypeConfiguration
2018-03-28 17:43:48 -05:00
Andrea Boriero 11462e7860 HHH-12444 - Introduce BootstrapContext
HHH-12443 - Introduce TypeConfiguration
2018-03-28 17:43:48 -05:00
Andrea Boriero 9229514ed4 HHH-12444 - Introduce BootstrapContext
HHH-12443 - Introduce TypeConfiguration
2018-03-28 17:43:48 -05:00
Andrea Boriero 8f889e95d7 HHH-12444 - Introduce BootstrapContext
HHH-12443 - Introduce TypeConfiguration
2018-03-28 17:43:48 -05:00
Steve Ebersole b8674563d2 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
- Fix-ups from Radim's review
- Better Javadoc
2018-03-27 15:38:24 -05:00
Vlad Mihalcea 94e8ba7ba5 HHH-11806 - Add support for MariaDB 10.3
HHH-11769 - New MariaDB Dialect for MariaDB >= v10.1

Add support for IF EXISTS in constraint clauses
2018-03-27 18:14:43 +03:00
Steve Ebersole 1ae38f27a7 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
HHH-12416 - set up relocation for hibernate-ehcache
HHH-12417 - default strategy based on registrations with StrategySelector

test failure
2018-03-22 23:25:08 -05:00
Steve Ebersole 7f12e2a161 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
HHH-12416 - set up relocation for hibernate-ehcache
HHH-12417 - default strategy based on registrations with StrategySelector

Basically reverted HHH-12416 and added basic support for Ehcache 2 again
2018-03-22 22:51:07 -05:00
Steve Ebersole 1174cdad65 HHH-12417 - default strategy based on registrations with StrategySelector
ConnectionProviderInitiator and tests
2018-03-22 13:25:12 -05:00
Steve Ebersole eea22fad17 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes

- initial work on migrating hibernate-jcache to new SPIs including a more template-style approach to writing a RegionFactory (o.h.cache.spi.support)
2018-03-22 13:25:12 -05:00
Steve Ebersole 638ebf01df HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes

- initial work on migrating hibernate-jcache to new SPIs including a more template-style approach to writing a RegionFactory (o.h.cache.spi.support)
2018-03-22 13:25:12 -05:00
Steve Ebersole f432ecea68 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
2018-03-22 13:25:12 -05:00
Andrea Boriero 7a47be8d9b Revert "HHH-12391 - attempt to create test reproducing error; no luck"
This reverts commit 6e82e4fd53.
2018-03-16 15:57:07 +00:00
Steve Ebersole 6e82e4fd53 HHH-12391 - attempt to create test reproducing error; no luck 2018-03-15 14:09:56 -05:00
Chris Cranford 676784d281 HHH-8382 - Fix ordering of lob columns when using HBM mappings. 2018-03-06 13:22:15 -05:00
Chris Cranford a0b94f057a HHH-8382 - Added test case. 2018-03-06 13:22:15 -05:00
Sanne Grinovero 0e597a03b5 HHH-11253 Revert dependency change on Javassist: still needed 2018-03-02 16:46:41 +00:00
Sanne Grinovero 0f5c3a0abc HHH-11253 Make Byte Buddy BytecodeProvider impl the default 2018-03-02 12:19:18 +00:00
Sanne Grinovero 4e484af398 HHH-12336 Avoid unnecessary invocations of fillInStackTrace() in the tests 2018-03-01 17:58:30 +00:00
Andrea Boriero 84c50855ef HHH-12271 - Add test for issue 2018-02-05 17:34:39 +00:00
Steve Ebersole d806eff912 HHH-12190 - General tidying of Gradle scripts 2018-01-16 14:34:43 -06:00
Steve Ebersole 300fa80016 HHH-12189 - Only call setAccessible() when member is not accessible 2017-12-27 09:53:07 -06:00
Andrea Boriero 00a07caf5b HHH-12098 - Fix licence checkstyle error 2017-12-13 17:42:43 +00:00
Steve Ebersole 59c3baae32 HHH-12146 - Support enabling caching at any level within a mapped hierarchy 2017-12-13 06:19:32 -06:00
Steve Ebersole 7fc5d3e856 HHH-12098 - prep 5.3 2017-12-13 06:19:32 -06:00
Steve Ebersole 4b3a18a5b4 HHH-12098 - prep 5.3 2017-12-13 06:19:31 -06:00
Steve Ebersole ad0aa213bc Allow Hibernate's Transaction act like JPA's EntityTransaction 2017-12-13 06:19:31 -06:00
Steve Ebersole 58781056a9 HHH-12129 - Fix expected exceptions on various Query methods 2017-12-13 06:19:31 -06:00
Steve Ebersole 4688d4412f HHH-12098 - prep 5.3 2017-12-13 06:19:30 -06:00
Edward.Wilson 7011347b9a HHH-12140 - Allow session scoped interceptors to be managed by DI providers (e.g Spring) 2017-11-30 13:31:53 +02:00
Steve Ebersole e9263758fe HHH-12085 - @NaturalId not working on inherited field 2017-11-10 17:20:49 -06:00
Vlad Mihalcea 164178330a HHH-12073 - Change BaseUnitTestCase Logger to protected 2017-11-01 19:04:07 +02:00
Jonathan Bregler 3aad752b04 Improved Hibernate support for SAP HANA
- Identity column support
- Spatial support
- Various minor improvements in HANA dialects
2017-09-21 12:05:19 -05:00
Andrea Boriero 7a897d5285 HHH-11651 - Fix checkstyle errors 2017-09-21 16:24:42 +01:00
Andrea Boriero 6379a42a58 HHH-11651 - unwrapping error in AbstractMultiTenantConnectionProvider 2017-09-21 14:58:47 +03:00
barreiro cfb910fb37 HHH-11882 - Use CustomRunner as the runner for tests with BytecodeEnhancerRunner 2017-08-10 14:39:00 +02:00