Steve Ebersole
686d8fcbf1
HHH-14870 - Rename {Xyz}TypeDescriptor as {Xyz}Type
...
* `JavaTypeDescriptor` -> `JavaType`
* `JdbcTypeDescriptor` -> `JdbcType`
2021-10-11 13:13:13 -05:00
Steve Ebersole
3a0065eea4
HHH-14870 - Rename {Xyz}TypeDescriptor as {Xyz}Type
...
* `JavaTypeDescriptor` -> `JavaType`
* `JdbcTypeDescriptor` -> `JdbcType`
2021-10-11 13:11:32 -05:00
Steve Ebersole
7b61966882
dropped no-longer-used no-op impls intended for annotations
2021-10-11 12:10:43 -05:00
Christian Beikov
1d4fe5d178
Increase timeout for HANA
2021-10-11 16:11:46 +02:00
Christian Beikov
ba350d13c6
Handle TimeZoneStorage annotation
2021-10-11 16:11:46 +02:00
Christian Beikov
548df627e6
Implement global configuration and sketch out annotations for time zone storage configuration. Move type tests and add skips for some tests running into H2 bugs. Also, fix some jdbc type assertion tests
2021-10-11 16:11:46 +02:00
Christian Beikov
597f4bdf6a
Get rid of JdbcTypeDescriptor remapping
2021-10-11 16:11:46 +02:00
Steve Ebersole
ac1a30f808
HHH-12623 - Improve Javadoc comments for QueryHints.html#NATIVE_SPACES
2021-10-09 08:10:53 -05:00
Steve Ebersole
fbba2d49a9
test failures from custom-type work
2021-10-08 09:46:53 -05:00
Steve Ebersole
41603e8d75
Fix User Guide build problems
2021-10-08 09:18:58 -05:00
Steve Ebersole
d452b6e3ea
HHH-14856 - Introduce @CustomType;
...
HHH-14865 - Re-work @Any and @ManyToAny support;
HHH-14863 - Compositional definition of basic value mappings;
HHH-14864 - Drop legacy Type-based annotations
* documentation work
2021-10-07 16:53:30 -05:00
Steve Ebersole
ede52e9aba
HHH-14856 - Introduce @CustomType;
...
HHH-14865 - Re-work @Any and @ManyToAny support;
HHH-14863 - Compositional definition of basic value mappings;
HHH-14864 - Drop legacy Type-based annotations
* documentation work
* support for using most of the new mapping annotations related to basic and any mappings as meta-annotations
* support for `@Mutability` on AttributeConverter implementations
* additional tests in the User Guide's BitSet mapping Case Study
2021-10-07 16:46:35 -05:00
Steve Ebersole
abc8225e9d
at the moment we expose `antlr` as an implementation dependency, which is exposed as a compile dependency. Instead use `antlr_runtime` as a runtime-only dependency and `antlr` for the `AntlrPlugin`
2021-10-07 13:10:53 -05:00
Steve Ebersole
95aa8246ed
HHH-14856 - Introduce @CustomType;
...
HHH-14865 - Re-work @Any and @ManyToAny support;
HHH-14863 - Compositional definition of basic value mappings;
HHH-14864 - Drop legacy Type-based annotations
layer in missed support for `@MapKeyClass` and `@ElementCollection#targetClass` in BasicValue resolution as part of BasicValueBinder handling
2021-10-07 12:17:42 -05:00
Steve Ebersole
9ad34c21d4
HHH-14856 - Introduce @CustomType;
...
HHH-14863 - Compositional definition of basic value mappings;
HHH-14864 - Drop legacy Type-based annotations;
HHH-14865 - Re-work @Any and @ManyToAny support;
* re-use BeanInstanceProducer
* Removed `@CollectionId#type`
* Change `@Any` / `@ManyToAny`
* Removed `@MapKeyType`
* Removed `@TypeDef`
* Removed `@TypeDefs`
* Removed `@Type`
* Removed `@AnyMetaDefs`
* Removed `@AnyMetaDef`
* Removed `@MetaValue`
2021-10-07 10:01:21 -05:00
Christian Beikov
710ebe57b0
Get rid of using specialized BasicType implementations and references to those and instead use a BasicTypeReference that is lazily resolved
2021-10-07 08:15:53 +02:00
Christian Beikov
1cb6ff8916
Cleanup naming of JavaTypeDescriptor and JdbcTypeDescriptor implementations. Get rid of PrimitiveType, IdentifierType, DiscriminatorType and AllowableTemporalParameterType
2021-10-07 08:15:53 +02:00
Christian Beikov
653f62ac60
Move VersionType logic to VersionJavaTypeDescriptor
2021-10-07 08:15:53 +02:00
Christian Beikov
81e66fa970
Get rid of LiteralType
2021-10-07 08:15:53 +02:00
Christian Beikov
bfe2da9d4f
Move type adjustment from AdjustableBasicType to AdjustableJdbcTypeDescriptor
2021-10-07 08:15:53 +02:00
Andrea Boriero
bb52778229
Fix GH actions store creation procedure craetion privileges for mysql
2021-10-05 15:39:58 +02:00
Andrea Boriero
a6a61f65d6
Fix determining the correct ValueBinder for IN ProcedureParameter
2021-10-05 15:39:58 +02:00
Andrea Boriero
0941ac7da1
Native query as a function call is no longer supported
2021-10-05 15:39:58 +02:00
Andrea Boriero
8276bd569a
Implement ParameterMementoImpl#resolve() method
2021-10-05 15:39:58 +02:00
Andrea Boriero
72d06c164a
Fix issue with ResultSetMappig for classes
2021-10-05 15:39:58 +02:00
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