Steve Ebersole
33c00d78c3
HHH-15818 - Drop PropertyMapping in favor of new mapping-model
2022-12-14 09:25:59 -06:00
Marco Belladelli
3d72eabf6c
HHH-15823 Fallback to value type ignoring typeInferenceSource
2022-12-14 15:04:03 +01:00
Marco Belladelli
ba1feef1f8
HHH-15823 Add test for issue
2022-12-14 15:04:03 +01:00
Davide D'Alto
919e322600
HHH-15761 Avoid possible NullPointerException
...
In AbstractSqlAstTranslator
2022-12-14 12:12:27 +00:00
Davide D'Alto
20e7f1be9c
HHH-15761 Change some scopes for Hibernate Reactive
...
Make it possible for Hibernate Reactive to call or override some
methods.
2022-12-14 12:12:27 +00:00
Davide D'Alto
e84bf71b7f
HHH-15761 Validate identifier generator
...
Having tyhe validation in a separate method, make it possible
to extend the class without causing a StackOverflow exception
when overriding the getter.
2022-12-14 12:12:27 +00:00
Davide D'Alto
7e36605a75
HHH-15761 Change scope of methods in QuerySqmImpl
...
For Hibernate Reactive
2022-12-14 12:12:27 +00:00
Davide D'Alto
c9df6af30a
HHH-15761 Extract creation of execution context in ConcreteSqmSelectQueryPlan
2022-12-14 12:12:27 +00:00
Gavin
5bdd79baf1
fix up use of qualified name in annotations
2022-12-14 12:21:45 +01:00
Christian Beikov
acd4e0e36a
Fix HANA test, skip one SQL Server test due to precision issues and get rid of old cruft in AbstractEntityPersister
2022-12-14 12:07:26 +01:00
Christian Beikov
92d447cddd
Make use of JavaType in SqlSelection
2022-12-14 12:07:26 +01:00
Christian Beikov
30bb01d0fa
Revert removal of JavaType from SqlSelectionProducer#createSqlSelection
2022-12-14 12:07:26 +01:00
Christian Beikov
dfa3981a52
Make stored procedure and function calls through ProcedureCall API more portable
2022-12-14 11:21:06 +01:00
Gavin
72edfa77e4
minor fix to DDL formatter
2022-12-13 22:58:41 +01:00
Gavin
6348d9927e
introduce TableMigrator and kill some code duplication
2022-12-13 22:56:44 +01:00
Marco Belladelli
f2576d6b87
HHH-15745 Change string literal handling in HQL lexer
2022-12-13 18:20:14 +01:00
Marco Belladelli
1109dfbb1c
HHH-15745 Add test for issue
2022-12-13 18:20:14 +01:00
Sanne Grinovero
c105c34976
Minor code refactoring
2022-12-13 15:28:05 +00:00
Christian Beikov
371d2f1d49
Move getCheckCondition to BasicType and add variant to JdbcType for Oracle Booleans and other future uses
2022-12-12 20:13:52 +01:00
Gavin
919278aac2
HHH-15845 sort enum values on MySQL
2022-12-12 19:39:24 +01:00
Sanne Grinovero
a5525a943f
HHH-15853 Remove the AttributeMetadataAccess interface
2022-12-12 15:00:42 +00:00
Sanne Grinovero
d2d40c7318
HHH-15853 Avoid re-computing AttributeMetadataAccess at runtime
2022-12-12 15:00:42 +00:00
Sanne Grinovero
58f8d3d449
HHH-15844 Introduce custom containers for AttributeMapping Lists and Maps
2022-12-12 10:55:08 +00:00
Gavin
33faa5b060
HHH-15847 run AttributeBinders in a SecondPass
...
so that they can do stuff like register converters and not
have the results hammered by the SecondPass registered by
BasicValueBinder.
2022-12-11 17:40:15 +01:00
Gavin
2b7eb6fc1c
HHH-15847 introduce ConverterRegistry
2022-12-11 17:40:15 +01:00
Gavin
4d2f4988c8
HHH-15847 fix check constraint creation
...
- fix check constraints for built-in Boolean converters
- move getCheckCondition() + getSpecializedTypeDeclaration() from JavaType to BasicValueConverter
- simplify the API of Dialect related to check constraints
- recover check constraint for boolean on Oracle by letting Dialects register converters
- attempt to clean up some generics stuff in enum-related code
2022-12-11 17:40:15 +01:00
Gavin
a25e53d1ab
also use enum type for boolean->char mappings on MySQL
2022-12-10 12:45:59 +01:00
Gavin
413b9ba03e
correct impl of MySQL.supportsColumnCheck()
2022-12-10 12:45:59 +01:00
Gavin
baffbc0aae
reenable check constraings on enum columns, and use MySQL enum column types
...
MySQL doesn't have real check constraints, but it does have something just as good for this special case
2022-12-10 01:48:35 +01:00
Gavin
7208bcea41
clean up some bodgy handling of "null" annotation values (empty strings)
2022-12-09 18:24:01 +01:00
Christian Beikov
a9be2e1584
Fix temporal round in tests and render calendar with milliseconds precision
2022-12-08 16:15:40 +01:00
Gavin
7376a1cdfb
improve some javadoc around settings
2022-12-08 11:48:41 +01:00
Gavin
2c8d6d719b
improve some assertions in time zone tests + rename
2022-12-08 02:02:17 +01:00
Gavin
3196f2584b
add yet another time zone test
2022-12-08 02:02:17 +01:00
Gavin
d08498109b
jdoc for schema management Action + for JDBC_TIME_ZONE
2022-12-07 23:57:02 +01:00
Karel Maesen
7a1f2542c1
HHH-15814 add methods for current time selection to CockroachLegacy Dialect
2022-12-07 22:35:53 +01:00
Karel Maesen
c8723d3f14
HHH-15814 add methods for current time selection to CockroachDB Dialect
2022-12-07 22:35:53 +01:00
Gavin
7dff19795f
attempt to fix continuing test flakiness on Sybase
2022-12-07 22:35:32 +01:00
Gavin
86ef33d55b
clarify semantics of NORMALIZE
2022-12-07 19:24:57 +01:00
Gavin
5e9b57cf40
add one more test, this time for TIMEZONE_DEFAULT_STORAGE=NORMALIZE
2022-12-07 19:24:57 +01:00
Gavin
9660a0424f
clarify AnnotationBasedGenerator vs constructor for Generators
...
this was unclear/misleading in the javadoc, as pointed out by @sebersole
2022-12-07 16:13:19 +01:00
Gavin
7bb066330a
improve a couple of javadoc links
2022-12-07 15:18:58 +01:00
Gavin
512ad8c80d
fix @Column(precision=p) with TimeZoneStorageType.COLUMN
2022-12-07 14:48:36 +01:00
Sanne Grinovero
cceac72a22
HHH-15836 Cleanup unneccessary String <> Serializable casts in TimestampsCacheEnabledImpl
2022-12-07 13:42:04 +00:00
Andrea Boriero
23cff8bd10
HHH-15674 @NamedEntityGraph not working on entity that have composite PK
2022-12-07 14:03:13 +01:00
Andrea Boriero
ff28d677ab
HHH-15674 Add test for issue
2022-12-07 14:03:13 +01:00
Gavin
a7a455c39a
HHH-15834 add @TypeRegistration annotation
2022-12-07 13:36:15 +01:00
Jeremy Whiting
60468dadf0
HHH-15825 Avoid pointless autoboxing of timestamp.
2022-12-07 12:34:45 +00:00
Sanne Grinovero
52b143c613
HHH-15835 Avoid using functions in PersistenceContext#clear implementation
2022-12-07 12:28:56 +00:00
Gavin
6b1cbc0640
document the default behavior of time zone storage
2022-12-07 10:57:41 +01:00