Commit Graph

282 Commits

Author SHA1 Message Date
Steve Ebersole dd0b6a9da3 Revert "HHH-13656 Con not build and run test on Eclipse IDE"
This reverts commit f6fad942df.
2019-11-08 07:07:56 -06:00
Steve Ebersole 7e34be04db Revert "HHH-13656 Can not build and run test on Eclipse IDE"
This reverts commit 0f859e7bb4.
2019-11-08 06:50:59 -06:00
hailtondecastro 0f859e7bb4 HHH-13656 Can not build and run test on Eclipse IDE
Eclipse windows
2019-11-01 11:23:36 -05:00
hailtondecastro f6fad942df HHH-13656 Con not build and run test on Eclipse IDE
Eclipse windows
2019-11-01 11:23:36 -05:00
Steve Ebersole f5c3ae181c initial discriminator hierarchy support 2019-10-22 14:45:14 -05:00
Andrea Boriero 567eb38069 Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_6 2019-10-09 18:00:48 +01:00
Steve Ebersole b350599442 HHH-12858 - integration overrides during JPA bootstrap ought to override all logically related settings
- e.g. a datasource passed in the integration overrides map ought to effectively override JDBC-connection settings in `persistence.xml` (and vice-versa)

HHH-13432 - Have EntityManagerFactory expose persistence.xml `jta-data-source` element as a `javax.persistence.nonJtaDataSource` property
2019-10-03 16:03:43 +01:00
Andrea Boriero 726dbeef34 Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_4 2019-09-30 16:45:27 +01:00
Steve Ebersole b9f4562680 fixed source of NPE wrt accessing an entity's version attribute descriptor when no versioning is defined;
added `@org.hibernate.testing.orm.junit.SessionFactory#exportSchema`
2019-09-26 14:14:19 -05:00
Steve Ebersole 57fba402b4 HHH-12858 - Persistence.createEntityManagerFactory(Map) should allow overwriting jta-data-source of persistence.xml 2019-09-25 15:12:25 -05:00
Steve Ebersole 5631a702a7 initial working dynamic instantiation support;
cleanup
2019-09-19 15:13:50 -05:00
Steve Ebersole 648dd3d2ed More work on EntityResult handling;
Changes to how SqmParameters are handled to account for criteria parameters
2019-09-16 08:51:16 +01:00
Steve Ebersole 76b42a94c3 Initial working support for selecting a "query root" - i.e. `select e from TheEntity e` 2019-09-12 10:42:33 +01:00
Andrea Boriero f85fe137b2 Initial working support for building and executing JdbcSelect operation from simple HQL 2019-09-12 10:42:33 +01:00
Steve Ebersole dbd108e0b7 Initial working support for building and executing JdbcSelect operation from simple HQL 2019-09-12 10:42:33 +01:00
Steve Ebersole 0acd11fae3 6 - SQM based on JPA type system
Completed rebase on master (from the point just after HHH-11147 work) - fixed compilation failures
2019-09-12 10:42:33 +01:00
Steve Ebersole 5aea8bcf6a 6 - SQM based on JPA type system
Completed rebase on master (from the point just after HHH-11147 work) - fixed compilation failures
2019-09-12 10:42:33 +01:00
Steve Ebersole b101ffbf79 6 - SQM based on JPA type system
- moving SQM-specific tests from wip/6.0
2019-09-12 10:42:32 +01:00
Andrea Boriero 588f11684d 6 - SQM based on JPA type system 2019-09-12 10:42:31 +01:00
Andrea Boriero 911c0220fe 6 - SQM based on JPA type system 2019-09-12 10:42:31 +01:00
Steve Ebersole 8d0ff71dfc 6 - SQM based on JPA type system
- further work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- initial work on `org.hibernate.sql.exec`
- initial work on `org.hibernate.sql.results`
- SemanticPathPart handling
- NamedQueryMemento
- work on ProcedureCall
- continued work on `org.hibernate.sql.exec`
- continued work on `org.hibernate.sql.results`
- ported `hibernate-testing` JUnit 5 support
2019-09-12 10:42:29 +01:00
Sanne Grinovero 4661efa468 HHH-13591 Fixing formatting of previous patch 2019-08-20 08:44:51 +01:00
Carsten Hammer 19ac013eeb HHH-13591 Replaces simple uses of array iteration with a corresponding for-each loop 2019-08-20 08:44:39 +01:00
Andrea Boriero 210aff098c HHH-13577 LockTest.testContendedPessimisticLock and StatementIsClosedAfterALockExceptionTest.testStatementIsClosed tests fail on Sybase
HHH-13577 : Re-enable LockTest for SybaseASE15Dialect
2019-08-14 18:43:09 -07:00
Steve Ebersole cc01f2561d HHH-11147 - Allow enhanced entities to be returned in a completely uninitialized state
HHH-11161 - do not force initialize collection at all
2019-06-13 12:52:38 -05:00
Chris Cranford 27ddc8e834 HHH-13206 - Fix custom runner properly determine dialect feature checks. 2019-01-15 18:18:31 -05:00
Vlad Mihalcea 29e135c015 HHH-13104 - Oracle 12c / SAP Hana insert fails when entity contains only an identity-based column.
Exclude tests failing for SAP HANA and add the supportNoColumnInsert method in Dialect to be used by the Insert class
2019-01-10 15:09:50 -05:00
Guillaume Smet 2a8582be7f 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.
2019-01-03 21:34:46 +01:00
Guillaume Smet 855f34c771 HHH-12555 Add a DialectCheck for NClob support 2018-12-17 13:53:54 +01:00
Vlad Mihalcea d986ae92d0 HHH-13144 - Move the doInAutoCommit utility to TranscationUtil 2018-12-06 09:22:29 +02:00
Sanne Grinovero aae9cd14a5 HHH-13047 Deprecate Environment#verifyProperties 2018-10-18 11:48:48 +01:00
Vlad Mihalcea cf3622f64c 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:40:48 +03:00
Vlad Mihalcea 414a0dd75d HHH-12787 - SessionJdbcBatchTest hangs with DB2 2018-07-12 13:39:10 +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