Commit Graph

7010 Commits

Author SHA1 Message Date
Christian Beikov 87604549ef Support usage of boolean expression in predicate context 2021-07-28 16:26:09 +02:00
Christian Beikov 87258af3f9 HHH-14495 Use table name, rather than entity name, as base for per-entity implicit sequence naming 2021-07-28 16:26:09 +02:00
Gavin King 8dd0ed7c2d clean imports and remove useless override 2021-07-28 15:22:41 +02:00
Gavin King 7aeb03beea remove older getJdbcType() method 2021-07-28 15:22:41 +02:00
Gavin King 526b3659c8 more correct test code 2021-07-28 15:22:41 +02:00
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 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
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
Sanne Grinovero 0325cd632a HHH-14740 Still need the nullcheck removed in HHH-14727 2021-07-20 14:10:06 +01:00
Steve Ebersole e2e93e51b7 improvements to JAXB XJC handling 2021-07-19 16:45:50 -05: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
Sanne Grinovero 5616284a12 HHH-14727 Minor code cleanup in StandardSQLExceptionConverter 2021-07-16 11:16:36 +01:00
Andrea Boriero 98e64579fa Merge branch 'main' into wip/6.0 2021-07-16 11:24:53 +02:00
Yoann Rodière 0a16e341c9 HHH-14730 Avoid loading the same entity proxy twice for the same result set 2021-07-16 10:09:29 +02:00
Yoann Rodière 4a2d19a171 HHH-14730 Test lazy loading of bytecode-enhancement proxy triggered by loading of a collection with eager references to that proxy 2021-07-16 10:09:29 +02:00
Andrea Boriero 8b02aaf5a8 HHH-14608 Merge causes StackOverflow when JPA proxy compliance is enabled 2021-07-15 21:01:09 -07:00
Andrea Boriero 8dcf6f983b HHH-14608 Add test for issue 2021-07-15 21:01:09 -07:00
Sanne Grinovero 1c16d8da97 HHH-14728 Include CamelCaseToUnderscoresNamingStrategy from Spring Boot 2021-07-15 21:56:34 +01:00
Gail Badner 6d16d6d32f HHH-14720 : Aliases generated for mixed-case column names that end in a number are not all lower-case 2021-07-15 21:48:24 +01:00