Commit Graph

12267 Commits

Author SHA1 Message Date
Gavin King 07096e7cc1 introduce JDBCTypeDescriptor.getDefaultSqlTypeCode()
and rename sqlType -> jdbcTypeCode in Type hierarchy for consistency

See https://github.com/hibernate/hibernate-orm/discussions/4088
2021-07-28 15:22:41 +02:00
Steve Ebersole 80e77b63d5 additional work to get jakarta module tests working 2021-07-28 04:15:58 -05:00
Steve Ebersole 431de4ba68 remove dependency on hibernate-core-jakarta tests from hibernate-envers-jakarta 2021-07-27 19:53:42 -05:00
Steve Ebersole d16073f7ce remove dependency on hibernate-core tests from hibernate-envers 2021-07-27 19:38:44 -05:00
Steve Ebersole 1c100f5af0 Tests for binding composite-valued query parameters 2021-07-27 09:17:15 -05:00
Alvaro Esteban Pedraza aa5d40852c HHH-10661 Reduce code duplication in serialize method of StatefulPersistenceContext 2021-07-27 14:51:01 +01:00
Sanne Grinovero ff9f6efc0d HHH-11413 Fixing code style 2021-07-27 14:13:23 +01:00
Dariush Moshiri 787f0a44ea HHH-11413: Native named query creation fails unintuitively when no resultClass is specified 2021-07-27 14:13:08 +01:00
Steve Ebersole 6d9bcd09c1 Tests for binding composite-valued query parameters 2021-07-26 16:37:18 -05:00
Steve Ebersole c1732f867c Query domain-results 2021-07-26 15:16:37 -05:00
Steve Ebersole 9f2ae95397 Gradle task cache
Gradle 7 prep
2021-07-26 13:51:38 -05:00
Andrea Boriero 967553add4 Fix multiparameter binding issue 2021-07-26 17:29:49 +02:00
Andrea Boriero e4571cbf30 Fix issue with Sybase,the hbm mapping was causing errors with case sensitive dbs 2021-07-26 16:43:26 +02:00
Andrea Boriero 77d870f08c Re-enabled additional tests 2021-07-26 16:43:26 +02:00
Andrea Boriero 3aa875b037 Fix ScrollableResultsImpl not initializing non lazy collections 2021-07-26 16:43:26 +02:00
Andrea Boriero ba5d90d116 Fix StatelessSession#uniqueResult() not clearing the temporary PersistenceContext 2021-07-26 16:43:26 +02:00
Andrea Boriero 4eb27e61b1 Fix StateleSession call to PostLoadEvent causing NPE 2021-07-26 16:43:26 +02:00
Andrea Boriero 78b8b4aed8 Fix close connection when a transaction is not active and connection handling mode is not equal to AFTER_STATEMENT 2021-07-26 16:43:26 +02:00
Andrea Boriero a648e637cc Re-enabled additional tests 2021-07-26 16:43:26 +02:00
Andrea Boriero 3022371d3e Re-enabled additional tests 2021-07-26 16:43:26 +02:00
Andrea Boriero 96be013089 Re-enabled additional tests 2021-07-26 16:43:26 +02:00
Andrea Boriero 96f8273673 Fix create a new instance while a corresponding one is loading 2021-07-26 16:43:26 +02:00
Andrea Boriero 8dcd63dcee Fix Sybase error when use jdbc metadata defaults is set to false 2021-07-26 16:43:26 +02:00
Andrea Boriero 6c98d3400f Change default MysqlDialect constructor to use version 5 instead of 4 2021-07-26 16:43:26 +02:00
Andrea Boriero c06788dd88 Re-enabled additional tests 2021-07-26 16:43:26 +02:00
Andrea Boriero 821d85b9a3 Implemented EmbeddableMappingType and EmbeddedIdentifierMappingImpl applySqlSelections methods 2021-07-26 16:43:26 +02:00
Andrea Boriero ab8cfe0d83 Fix multi value parameters expansion for SelfRenderingSqmFunction 2021-07-26 16:43:26 +02:00
Andrea Boriero 3f7044eebe Re-enabled additional tests 2021-07-26 16:43:26 +02:00
Karel Maesen 6b4f4755f3 HHH-14745 Fix formatting 2021-07-26 16:26:11 +02:00
Karel Maesen 649b2187e1 HHH-14745 Directly contribute functions to the SqmFunctionRegistry 2021-07-26 16:26:11 +02:00
Karel Maesen c0a18ee99e HHH-14745 Add ordinal() to avoid non-determinism 2021-07-26 16:26:11 +02:00
Karel Maesen 9aba4532cd HHH-147 Fix method name in contract 2021-07-26 16:26:11 +02:00
Karel Maesen 21dd7a35f1 HHH-14745 Add FunctionContributor contract 2021-07-26 16:26:11 +02:00
Andrea Boriero 76df5a5f4b Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-07-26 15:15:29 +02:00
Steve Ebersole 70093b8980 release project and up-to-date improvements 2021-07-23 10:07:39 -05:00
Steve Ebersole 2c969c0dbc improve `:release:assembleDocumentation` task 2021-07-20 11:11:20 -05:00
Sanne Grinovero 0325cd632a HHH-14740 Still need the nullcheck removed in HHH-14727 2021-07-20 14:10:06 +01:00
Steve Ebersole 2e4f2c75df upgrade `matrix-test` plugin to version `3.1.1` 2021-07-19 16:46:50 -05:00
Steve Ebersole e2e93e51b7 improvements to JAXB XJC handling 2021-07-19 16:45:50 -05:00
Steve Ebersole 1ec2cd6c5e fix assembleDocumentation task 2021-07-19 13:52:14 -05:00
Steve Ebersole fc91131278 make jakarta tasks cacheable 2021-07-19 13:52:14 -05:00
Steve Ebersole 4f265ee8ce hibernate-transaction-client dep resolution during Gradle conf 2021-07-19 13:52:14 -05:00
Hibernate-CI 4454f170fa 5.5.5-SNAPSHOT 2021-07-19 09:33:59 +00:00
Hibernate-CI fb36fe2541 5.5.4.Final 2021-07-19 09:29:02 +00:00
Andrea Boriero c0041ba073 HHH-14772 InformationExtractorJdbcDatabaseMetaDataImpl#getCurrentSchema() method returns currentCatalog if schema == null 2021-07-18 21:05:57 +01:00
Sanne Grinovero f60d8bcd12 HHH-14734 No good reason tu use TypeCache(s) with WithInlineExpunction 2021-07-16 16:43:02 +01:00
Sanne Grinovero e782ddf8f9 HHH-14733 Not useful to clear the bycodeprovider caches on sessionFactoryClosing 2021-07-16 16:43:02 +01:00
Sanne Grinovero 6608d03bfc HHH-14732 ProxyDefinitionHelpers are immutable and can be declared static 2021-07-16 16:43:02 +01:00
Sanne Grinovero 0768663895 HHH-14731 Simplify SPI ProxyFactoryFactory#buildBasicProxyFactory to accept a single class or interface only
And deprecate method org.hibernate.bytecode.spi.ProxyFactoryFactory#buildBasicProxyFactory(java.lang.Class, java.lang.Class[])
2021-07-16 16:43:02 +01:00
Andrea Boriero 6c98441518 HHH-14730 Avoid loading the same entity proxy twice for the same result set 2021-07-16 13:22:37 +02:00