Commit Graph

12729 Commits

Author SHA1 Message Date
Andrea Boriero dd43a3923b Fix typo and minor improvement 2021-10-05 15:39:58 +02:00
Andrea Boriero 18fee9cf5a Fix Delaying Basic attribute fetching 2021-10-05 15:39:58 +02:00
Andrea Boriero b872d8ad74 Fix CoercionException conversion to IllegalArgumentException for Query parameter binding 2021-10-05 15:39:58 +02:00
Andrea Boriero 8df7a3ab16 Use ResultSetMapping from ProcedureCall instead of creating a new one 2021-10-05 15:39:58 +02:00
Andrea Boriero 7e92c29515 Fix test creating BootstrapContextImpl twice 2021-10-05 15:39:58 +02:00
Andrea Boriero 95486ce5b1 Implementing Procedure Call 2021-10-05 15:39:58 +02:00
Andrea Boriero 6931635c4f Implementing ProcedureParamBindings 2021-10-05 15:39:58 +02:00
Christian Beikov d4007c5071 Fix fetching from a treated type and cleanup naming for collection fetching as well as fix bugs that IMO hid behind this bad naming 2021-10-05 15:18:38 +02:00
Christian Beikov 9e83129fc3 Change JavaTypeDescriptor#fromString to accept a CharSequence instead of String and introduce CharSequence utilities to avoid creating intermediate strings 2021-10-05 15:18:38 +02:00
Christian Beikov 40ccad1db2 Get rid of deprecated dialect methods, JoinFragment, LegacyLimitHandler, LegacySequenceSupport, CaseFragment, SelectFragment etc. 2021-10-05 15:18:38 +02:00
Christian Beikov f416b728a9 Get rid of RowSelection, QueryParameters and related deprecated functionality 2021-10-05 15:18:38 +02:00
Christian Beikov 1246a22c83 Remove some row selection uses 2021-10-05 15:18:38 +02:00
Christian Beikov c5baae7e11 Improve SQL rendering performance by avoiding intermediate String objects 2021-10-05 15:18:38 +02:00
Christian Beikov 2cb1078fe3 Fix some string literal parsing issues regarding escape sequences 2021-10-05 15:18:38 +02:00
Christian Beikov f61eeb5a25 Temporarily disable testing environments that are also tested on GH actions 2021-10-05 15:18:38 +02:00
Christian Beikov bcc33a76cb Cancel old pipeline runs if a new commit arrives before the old build finishes 2021-10-05 15:18:38 +02:00
Andrea Boriero cef7988528 Re-enabled additional tests 2021-10-05 09:51:23 +02:00
Christian Beikov 6c49c55087 Fix setting null values on native queries for mysql/mariadb 2021-10-04 12:08:56 +02:00
Andrea Boriero 0557536e16 Activate correct profile for mysql8 on GH actions 2021-10-04 10:44:19 +02:00
Andrea Boriero 8c40de9cff Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_main_7 2021-10-01 11:34:10 +02:00
Steve Ebersole ab2957d89f HHH-14820 - Customized EnumType not working with hbm mapping in Hibernate 6 2021-09-30 14:57:30 -05:00
Steve Ebersole c799f85801 HHH-14820 - Customized EnumType not working with hbm mapping in Hibernate 6 2021-09-30 11:53:51 -05:00
gtoison bef0554eb7 HHH-14820 - Customized EnumType not working with hbm mapping in Hibernate 6 (Reproducer)
A simple unit test illustrating issue HHH-14820 : since Hibernate ORM 6
the custom NamedEnumUserType is only instantiated once (while there are
two enums configured with this type)
2021-09-30 09:09:07 -05:00
Christian Beikov d8b984ed7f Fix some column type definitions in dialects regarding their maximum capacities. Allow the dialect to resolve the length based on type code, type name, precision, scale and display size. Fix some dialect related issues with tests. Fix untyped null parameter binding issues 2021-09-30 13:52:31 +02:00
Christian Beikov 7fd3706a18 Fix build script regarding tools.jar inclusion into testCompile configuration 2021-09-30 13:52:31 +02:00
Christian Beikov d5078456a2 NullnessLiteral cleanup 2021-09-30 13:52:31 +02:00
Christian Beikov 10e508dfe7 Add the Object type to the basic type registry and resolve it by Java type instead of referring to JavaObjectType or StandardBasicTypes.OBJECT_TYPE
Also add special JdbcTypeDescriptor implementations that resolve the parameter type or use a VARBINARY on null values, as needed for some dialects, which register these descriptors
2021-09-30 13:52:31 +02:00
Christian Beikov 05f643f208 Move some more jpa.test subpackages to orm.test 2021-09-30 13:52:31 +02:00
Christian Beikov 08b0a705e6 Remove `@NotImplementedYet` from some tests and fix some other tests 2021-09-30 13:52:31 +02:00
Christian Beikov f1680fabcd Fixes for the move of jpa.test.query to orm.test
* Allow JdbcTypeDescriptor to resolve JavaTypeDescriptor also based on precision/scale to support resolving VARCHAR(1) to Character
* Implement support for rendering comments and hints for DML statements.
* Implement support for tuple transformer
* Apply type inference on SQM parameters and put coercion behind `isLoadByIdComplianceEnabled` consistently
* Implement native query result type validation
* Fix some temporal type related resolving issues
* Fix parameter validation issue
* Apply delayed fetch builders for implicit basic attributes for result set mappings
* Use resolved JdbcTypeDescriptor and column length/scale to resolve recommended JdbcTypeDescriptor
* Fix type resolving for composite path sources
* Make ManagedDomainType implement AllowableParameterType
* Make DiscriminatorSqmPathSource implement AllowableParameterType
* Fix some id-class related path source issues
2021-09-30 13:52:31 +02:00
Christian Beikov d4ecfbc1b8 Move jpa.test.query to orm.test 2021-09-30 13:52:31 +02:00
Hibernate-CI 2396dfbb3d 5.6.0-SNAPSHOT 2021-09-29 13:51:37 +00:00
Hibernate-CI 2ec769b5e4 5.6.0.CR1 2021-09-29 13:46:39 +00:00
Andrea Boriero 33a2c88279 Re-enabled additional tests 2021-09-29 10:41:24 +02:00
Steve Ebersole aa514f7cfc fix to aggregateJavadoc task 2021-09-29 02:16:35 -05:00
Steve Ebersole 120019b343 HHH-14848 - Move Ant tasks + support from hibernate-core into tooling/hibernate-ant 2021-09-29 02:11:49 -05:00
Steve Ebersole 439f4fb208 HHH-14848 - Move Ant tasks + support from hibernate-core into tooling/hibernate-ant 2021-09-29 02:09:58 -05:00
Steve Ebersole ee72128388 HHH-14848 - Move Ant tasks + support from hibernate-core into tooling/hibernate-ant 2021-09-29 01:56:58 -05:00
Steve Ebersole 998caa56af HHH-14848 - Move Ant tasks + support from hibernate-core into tooling/hibernate-ant 2021-09-29 01:31:47 -05:00
Steve Ebersole c68322df99 HHH-14846 - Drop JMX integration 2021-09-29 01:09:50 -05:00
Steve Ebersole 8a8a92ca5e HHH-14844 - Drop JACC integration 2021-09-29 01:08:07 -05:00
Steve Ebersole 986d65a288 HHH-14837 - Move to Jakarta EE
More settings work
2021-09-28 19:01:28 -05:00
Steve Ebersole ff4db00aec HHH-14847 - Deprecate JMX support 2021-09-28 15:27:11 +01:00
Andrea Boriero 05b2ca3b83 Rename AvailbaleSetting JAKARTA_DIALECT_DB_VERSION to JAKARTA_HBM2DDL_DB_VERSION and fix its values 2021-09-28 08:40:45 -05:00
Andrea Boriero 60b3d4ec8f Add `ASE` to Sybase database names recognition 2021-09-28 08:40:45 -05:00
Steve Ebersole ba9c3201eb HHH-14845 - Deprecate JACC support 2021-09-28 11:21:03 +01:00
Steve Ebersole e59028fbcf HHH-14845 - Deprecate JACC support 2021-09-28 11:21:03 +01:00
Steve Ebersole 35b9513943 HHH-14845 - Deprecate JACC support 2021-09-28 11:21:03 +01:00
Sanne Grinovero 694a0e4aed HHH-14852 Upgrade GraalVM to version 21.2.0 2021-09-28 10:52:34 +01:00
Steve Ebersole 828b96522c HHH-14837 - Move to Jakarta EE
fix references to JPA as Jakarta Persistence
2021-09-27 15:13:33 -05:00