Commit Graph

719 Commits

Author SHA1 Message Date
Christian Beikov 13bc7ff38c HHH-16952 Discover embeddable types through @Embedded annotation for enhancement in a pre-discovery phase 2023-08-28 18:24:45 +02:00
Jan Schatteman 2220cf7fe5 HHH-15535 - Remove support for H2 versions older than 2.1
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-08-28 14:37:40 +02:00
Gavin King 7effc40e13 HHH-15939 test for fixed issue 2023-07-24 20:19:46 +02:00
Sanne Grinovero 042ea16b37 HHH-16963 Avoid H2's capability to register a JVM shutdown hook: causes classloader leaks during tests 2023-07-21 11:43:01 -04:00
Jan Schatteman 2e73795e4b HHH-16515 - Add o.h.exception to nullness checking
HHH-16515 - Add o.h.integrator to nullness checking

HHH-16515 - Add o.h.service to nullness checking

HHH-16515 - Add o.h.engine.jndi to nullness checking

HHH-16515 - Add o.h.engine.config to nullness checking

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-07-17 21:56:22 +02:00
Jan Schatteman 314f2d7b7a Revert "HHH-16515 - Add o.h.exception to nullness checking"
This reverts commit c5c3bb8ac8.
2023-07-15 00:38:45 +02:00
Jan Schatteman c5c3bb8ac8 HHH-16515 - Add o.h.exception to nullness checking
HHH-16515 - Add o.h.integrator to nullness checking

HHH-16515 - Add o.h.service to nullness checking

HHH-16515 - Add o.h.engine.jndi to nullness checking

HHH-16515 - Add o.h.engine.config to nullness checking

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-07-14 21:42:25 +02:00
Sanne Grinovero ea56fbdb53 Deleting some unused code 2023-06-26 14:38:59 +01:00
Gavin King 4bdfb2da25 clean up warnings in BaseCoreFunctionalTestCase 2023-06-05 20:07:23 +02:00
Sanne Grinovero 3a40f9c829 HHH-16716 Expose ParameterMarkerStrategy on JDBCServices 2023-05-30 12:27:37 +01:00
Gavin be2319b59c HHH-16699 promote repeat() function
emulate it on Oracle using rpad()

unsupported on Derby
2023-05-26 08:55:56 +02:00
Christian Beikov f49bce8bde HHH-16656 Register ranking window functions for H2 1.4.200 2023-05-22 18:53:09 +02:00
Christian Beikov bee160e9f2 HHH-16541 Don't report supportsSkipLocked() for Sybase 2023-05-17 16:22:31 +02:00
Gavin b7a8f4940e pool configuration 2023-05-13 21:08:47 +02:00
Gavin 7c22a537d1 HHH-16544 add support for Oracle nested tables
... and clean up of some stuff about array type initialization
2023-05-03 16:31:36 +03:00
Gavin c91cfdf2f1 HHH-16125 delete/fix a bunch of assertions that constrain implementation details
these are bad tests; they don't test observable behavior
2023-04-29 15:42:56 +02:00
Christian Beikov 203f28e14c HHH-16528 Revert SybaseDialect NameQualifierSupport to CATALOG only and fix ansinull option for jconnect 2023-04-28 10:30:43 +02:00
Christian Beikov aad0c55f9b HHH-15833 Disable named parameters for jConnect JDBC driver 2023-04-28 10:30:43 +02:00
Yoann Rodière a79b4df426 HHH-16497 Deprecate JUnit 4 testing annotations 2023-04-25 11:54:13 +02:00
Yoann Rodière 9a9f027f82 HHH-16458 Close JDBC statement when DeferredResultSetAccess fails to execute a query 2023-04-25 10:33:09 +02:00
Yoann Rodière 634d590e72 HHH-16459 Test bytecode-enhanced inline dirty tracking for generic associations from mapped superclasses 2023-04-14 08:45:13 +02:00
Gavin 7b8cd14052 HHH-16163 update tests to use new annotations 2023-04-08 13:10:46 +02:00
Sanne Grinovero 845e9770d5 HHH-16430 Avoid AnsiSqlKeywords to retain all keywords as static constants 2023-04-04 12:51:17 +02:00
Andrea Boriero 570ccae476 HHH-16097 Move all tests from documentation into hibernate-core 2023-03-24 07:43:13 -05:00
Steve Ebersole 6d968dc0ef HHH-15108 - tweak to not ignore exceptions in AggregateClassLoader.findClass() 2023-03-17 14:36:42 -05:00
Steve Ebersole e675962779 HHH-16311 - Migrate away from UserType for enum handling 2023-03-17 13:13:24 -05:00
Sanne Grinovero c8111fc753 HHH-16223 Avoid using legacy HBM2DDL_CONNECTION 2023-03-07 21:39:17 +00:00
Sanne Grinovero d0cdcb006d HHH-16223 Deprecate HBM2DDL_DATABASE_ACTION 2023-03-07 21:39:17 +00:00
Andrea Boriero df6ec56978 HHH-15895 Add test for issue 2023-03-01 09:42:18 -06:00
Sanne Grinovero cf2e723d6f HHH-16228 Dialect instance might be wrapped when doing instanceof checks for capabilities
To properly support the idea of wrapping the Dialect, we need
to take this into account whenever an `instanceof` is used
to check for Dialect capabilities.
Also some code is casting to the expected Dialect.
2023-02-27 22:53:31 +00:00
Christian Beikov 404698b004 Replace mockito for some tests with custom spies 2023-02-13 18:40:46 +01:00
Steve Ebersole 973434c8f1 HHH-16148 - Introduce Immutability (MutabilityPlan) for use with @Mutability
HHH-16141 - Support @Mutability and @Immutable on UserType
HHH-16147 - Support @Mutability and @Immutable on AttributeConverter
HHH-16146 - Improve User Guide documentation for (im)mutability
2023-02-10 08:38:40 -06:00
Christian Beikov 563880037e Fix possible Mockito concurrency issue 2023-02-06 12:17:59 +01:00
Marco Belladelli 17506b7f80 HHH-16043 Add test for issue 2023-01-25 17:01:31 +01:00
Andrea Boriero 3d9a1bce9b HHH-16049 Test setting a property to its current value with bytecode enhancement enabled 2023-01-24 10:40:52 +01:00
Yoann Rodière 5bd1f7c05b HHH-16049 Test setting a property to its current value with bytecode enhancement enabled 2023-01-24 10:40:52 +01:00
Sanne Grinovero 800873c43d HHH-16058 Removing Environment#getBytecodeProvider 2023-01-20 14:31:08 +00:00
Gavin a3b2e9b4ae HHH-16028 allow FunctionContributor to be registered programmatically
since we can do this with its friend TypeContributor
2023-01-12 00:36:14 +01:00
Gavin ab48dc9ba1 remove an email address I missed 2023-01-05 20:21:01 +01:00
Jan Schatteman d4cc873ad0 Add useCollectingStatementInspector() to @Jpa and refactor tests that can use it to do so
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-01-05 15:40:24 +01:00
Gavin 80feec0c53 use @value instead of @link + delete an obsolete logger 2023-01-05 12:15:27 +01:00
Gavin b7b5fb7559 avoid the use of TypeConfiguration.getServiceRegistry() 2023-01-03 21:06:49 +01:00
LLEFEVRE ccf4fac124 HHH-15961 Speed-up Oracle CI build 2023-01-03 10:26:46 +01:00
Gavin 7aa92a7c05 allow @Formulas to refer to columns of @SecondaryTables
(this is something that was previously only possible using hbm.xml)

also attempt a partial fixup of the initialization process where SessionFactoryImpl
constructor leaked out an uninitialized reference to itself (it still leaks, but
not as badly)
2023-01-02 21:45:02 +01:00
Gavin 76b2f92f39 HHH-15958 support the @RowId annotation on DB2 LUW
... and perhaps also on DB2 for z and i (no way to test it)
2023-01-01 17:25:07 +01:00
Gavin 689cca1963 HHH-15958 much better support for @RowId annotation
- the rowid pseudo-column and type are now determined automatically from Dialect
- works (after all these years) in Postgres (and also on h2)
- introduce RowIdJdbcType (not strictly necessary, but a nicety)
2023-01-01 14:20:44 +01:00
Gavin c6f0be990c yet more work on the API documentation
- and get rid of people's email addresses, they don't belong in the code
2022-12-29 15:03:09 +01:00
Gavin bdc172c1df nove NotImplementedYetException to hibernate-testing 2022-12-22 20:05:30 +01:00
Steve Ebersole 3f7dd8c23b HHH-15799 - API/internal split for org.hibernate.cfg package 2022-12-21 07:48:35 -06:00
Steve Ebersole ed4af59882 HHH-15884 - Clean-up EntityDiscriminatorMapping for API
HHH-15891 - Clean-up EntityVersionMapping for API
HHH-15892 - Clean-up EntityIdentifierMapping for API
2022-12-15 18:55:58 -06:00
Christian Beikov bc36eb3eeb HHH-15327 Support mapping aggregate embeddables as struct/json 2022-12-14 19:02:43 +01:00
Sanne Grinovero 2c3ac612db HHH-15858 Cleanup of internal Session casts 2022-12-14 16:04:19 +00:00
Mark Rotteveel 9290f8b754 HHH-15812 Firebird dialect improvements 2022-12-06 11:38:51 +01:00
Steve Ebersole 1c083a5863 HHH-15393 - Improve write-paths to use mapping model 2022-11-30 15:36:28 -06:00
Steve Ebersole a9ac98b364 HHH-15393 - Improve write-paths to use mapping model
HHH-15723 - Fix foreign-key modeling
2022-11-28 14:25:40 -06:00
Marco Belladelli f38dd28043 HHH-15760 mass replace self-closing tags in javadoc 2022-11-26 09:49:56 +01:00
Christian Beikov 818bb41091 Teach CustomRunner to read orm.junit annotations 2022-11-23 20:44:33 +01:00
Christian Beikov 4914d14a43 HHH-15626 Move old databases to nightly pipeline and add some SQL Server 2022 features 2022-11-18 11:06:39 +01:00
Gavin ed956d514a HHH-15729 introduce SchemaManager, a programmatic API for schema export
featuring a brand new SchemaTruncator!
2022-11-16 14:10:08 +01:00
Gavin 1d5c0a60d3 better error reporting in DialectContext and service registry 2022-11-13 15:35:53 +01:00
Christian Beikov 90a752a0ee HHH-15328 Add support for CTE WITH clause 2022-11-10 13:25:21 +01:00
Gavin King 89c1b0f0ce HHH-15696 very basic test for multiply-mapped entity class 2022-11-09 18:20:04 +01:00
Gavin King 61c128000b HHH-15672 introduce Generated(UPDATE) for properties only generated on update 2022-11-08 12:36:38 +01:00
Philippe Marschall 4aede4ca88 HHH-15670 Implement RequiresDialectFeature.reverse()
- implement RequiresDialectFeature.reverse()
- remove not-feature checks to reverse = true
2022-11-07 09:32:22 +01:00
Christian Beikov 0b733d4ba2 HHH-15641 Enable inlineDirtyChecking and lazyLoading for enhancement by default and deprecate the setting 2022-11-07 09:19:26 +01:00
Gavin King 6e8d609485 squash warnings + remove usages of some deprecated methods 2022-10-29 23:32:05 +02:00
Gavin King f253d8f216 remove useless @JoinColumns annotation for mosts tests and examples 2022-10-29 02:09:00 +02:00
Gavin King 86906013c2 further cleanups to the Binder code 2022-10-29 02:09:00 +02:00
Christian Beikov 940f15b63e HHH-15528 Add Cockroach to Jenkins nightly test matrix and fix issues 2022-10-21 09:51:16 +02:00
Christian Beikov f13230803d HHH-15590 Test that JdbcLiteralFormatter works for all supported java types 2022-10-13 15:21:51 +02:00
Gavin King 2a9f6dafee Maria has a median() function 2022-10-07 10:28:04 +02:00
Gavin King 4a1fe85f0d add test for median() 2022-10-06 21:41:28 +02:00
Sanne Grinovero ba9bd35c9d HHH-15563 BeanValidation integration should prioritize jakarta.persistence.validation over javax.persistence.validation 2022-10-01 18:31:57 +01:00
Jan Schatteman bb5aa62927 HHH-15487 - Remove support for PostgreSQL versions older than 10
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-21 19:57:32 +02:00
Jan Schatteman 3dec1ca4dc HHH-15447 - Remove references to deprecated dialects
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-12 16:05:00 +02:00
Christian Beikov 271cba0603 HHH-15461 Replace uses of method references for SqlAppender with proper implementation 2022-08-25 09:43:48 +02:00
Christian Beikov 7b6df34519 HHH-15428 Fix handling of converters by moving them to JdbcMapping 2022-08-03 14:38:46 +02:00
Andrea Boriero d5b408e61d Test @Jpa properties should override the default integration settings 2022-08-02 20:36:15 +02:00
Andrea Boriero 1f31284f33 HHH-15403 Likely Statement leak on invoking a stored procedure 2022-07-20 21:57:17 +01:00
Gavin King a89d558485 tests for right/full join syntax 2022-07-02 20:50:13 +02:00
Christian Beikov 9c660f7e0a HHH-15367 Lift embedded/id-class to-one selection limitation for from clause subqueries 2022-07-01 12:05:54 +02:00
Gavin King 58da5f24f9 "sub query" -> "subquery"
The word "sub" means "submarine", "submissive", or "substitute".
It's never an adjective.
2022-06-18 00:22:17 +02:00
Steve Ebersole ff2cd561f5 HHH-15344 - Ability to apply testing annotations at method-level
- `@SessionFactory`
2022-06-16 21:15:18 +01:00
Steve Ebersole edc95df72a HHH-15344 - Ability to apply testing annotations at method-level
- `@ServiceRegistry`
    - `@BootstrapServiceRegistry`
2022-06-16 21:15:18 +01:00
Steve Ebersole 763d1764cd HHH-15344 - Ability to apply testing annotations at method-level
- `@DomainModel`
2022-06-16 21:15:18 +01:00
Christian Beikov 341267b133 HHH-3356 Support for normal and lateral subquery in from clause 2022-06-04 19:07:43 +02:00
Christian Beikov 45fc49314e HHH-10999 Add support for SQL array types mapped as Java arrays and collections 2022-05-30 19:52:39 +02:00
Christian Beikov d73a5cde38 Let test helper collect all annotation to produce a full union 2022-05-23 15:50:26 +02:00
Steve Ebersole 69e57404c6 HHH-15226 - Publish a Gradle platform (Maven Bom++) for Hibernate ORM
- plus use Gradle version catalogs as opposed to `libraries.gradle`
- dropped OSGi manifest entries for hibernate-envers - they were broken and we decided we no longer support OSGi
2022-04-26 14:41:04 -05:00
Steve Ebersole bec32ebbc4 HHH-15133 - Use specified result-type to better infer "shape" of query results with implicit selections 2022-03-30 13:34:18 -05:00
Steve Ebersole cac18ae0c7 HHH-15133 - Use specified result-type to better infer "shape" of query results with implicit selections 2022-03-30 13:34:18 -05:00
Christian Beikov 4b48dd31f6 Get rid of MVCC JDBC connection parameter 2022-03-24 09:15:11 +01:00
Christian Beikov 2c80250b0e Replace typeNames in Dialect with SqlType and SqlTypeRegistry that dialects contribute into 2022-03-08 21:59:49 +01:00
Steve Ebersole d52ebfb41d HHH-15099 - Improve handling of associations marked with @NotFound
- Keep track of NotFoundAction into mapping model
- Fix tests with erroneous assertions about `@NotFound` associations allowed to be lazy
2022-03-05 08:59:31 -06:00
Sanne Grinovero 572171e27f Jandex, Classmate and commons annotations shouldn't be listed as API 2022-03-03 19:23:58 +00:00
Christian Beikov a91d23825f Make list semantics setting explicit for failing tests 2022-03-02 17:02:53 +01:00
Andrea Boriero 8ed1ed5159 Re-enabled additional tests 2022-02-16 16:32:49 +01:00
Christian Beikov 5bfbc466eb Rename JPA copy compliance setting to `hibernate.criteria.copy_tree` 2022-02-10 18:24:23 +01:00
Gavin King 437da23961 removing a questionable grammar rule seems to make implicit collection joins work 2022-02-09 22:05:21 +01:00
Christian Beikov 5828536428 Implement window function support in HQL 2022-02-09 18:32:27 +01:00
Christian Beikov 0509b10040 Implement support for ordered set-aggregate functions like listagg, percentile_disc, rank etc. 2022-02-01 13:38:32 +01:00
Christian Beikov 0ad5796ffd Implement SQM copying for JPA Criteria API uses 2022-01-31 19:04:37 +01:00
Gavin King 0a251e9a0e second round of binder cleanup: CollectionBinder, more AnnotationBinder 2022-01-27 18:13:09 +01:00
Steve Ebersole 67fbab36bb list v. bag - javadoc, migration guide 2022-01-27 08:49:58 -06:00
Steve Ebersole 5436f441ae move remaining tests from o.h.test to o.h.orm.test 2022-01-26 17:06:53 -06:00
Jan Schatteman cc0b198142 Remove some deprecations in org.hibernate.cfg and
org.hibernate.collection.spi

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-01-26 14:31:41 +01:00
Gavin King e51c210d78 squash lots of warnings in services
change the raw Map representation of config properties to Map<String,Object>
2022-01-25 21:04:50 +01:00
Jan Schatteman dc2e86d5c1 Remove several deprecations in org.hibernate.boot
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-01-24 08:42:33 -06:00
Gavin King e3a59f883a get rid of billions of obsolete WeakerAccess suppressions 2022-01-23 00:53:38 +01:00
Steve Ebersole 2b5a5fc196 api, spi, internal, deprecation
org.hibernate.query package
2022-01-21 13:27:11 -06:00
Gavin King a79891a426 the the in Javadoc and comments 2022-01-21 14:27:20 +01:00
Steve Ebersole 6cbfb30ea4 api, spi, internal, deprecation 2022-01-20 11:29:57 -06:00
Christian Beikov ad43a625ae Allow skipping dialect versions even when using `@RequiresDialect` 2022-01-18 15:18:01 +01:00
Andrea Boriero 23a011385d Fix MaskSensitiveInformationTest failure 2022-01-17 16:41:42 +01:00
Steve Ebersole 4eca44eecd Clean up usages of ``@NotImplementedYet` 2022-01-14 15:58:30 -06:00
Gavin King 4b5e6e1969 introduce new syntax for aggregate functions applying to collections
max(element x.y), min(index x.y), sum(element x.y)

and rationalize the node types here
2022-01-10 15:48:34 +01:00
Steve Ebersole 773f3429c6 hibernate.mapping.default_list_semantics (`AvailableSettings#DEFAULT_LIST_SEMANTICS`)
make LIST the default classification for List attributes with no `@OrderColumn`, etc.
2022-01-06 08:53:00 -06:00
Christian Beikov 2666f3f6e0 Add feature requirement for multi-insert test 2022-01-05 14:37:50 +01:00
Gavin King 5a0537aa04 rough implementation of naturalid() function in HQL
and add tests for id(), version(), naturalid()
2022-01-04 23:07:39 +01:00
Fabio Massimo Ercoli 2f8d22e9e5
Fix test to follow 6.0 behaviour (#4513)
* Fix test to follow 6.0 behaviour
2021-12-23 14:15:43 +01:00
Christian Beikov fec4fb7a85 Fix connection leak through connection validation code 2021-12-22 14:45:53 +01:00
Christian Beikov 360fec82f1 Reset connection pool after changing system TZ. Don't use distinct predicate when comparing primary keys in envers 2021-12-21 18:46:46 +01:00
Gavin King 675d176b57 stop trying to clear the public schema on postgres
because you don't have permission to do that
2021-12-10 23:11:16 +01:00
Gavin King 611b6c0179 don't do things that can fail in static initializers
because the failure gets swallowed by a nasty NCDFE
and is impossible to track down
2021-12-10 23:11:16 +01:00
Steve Ebersole 942dd7283f DialectVersion
- rename `#isSince` to `#isSameOrAfter`
2021-12-08 15:54:50 -06:00
Steve Ebersole 10d759e139 Dialect version 2021-12-08 15:36:48 -06:00
Steve Ebersole 915da5228d HHH-14497 - Drop legacy id-generator settings;
HHH-14718 - Drop deprecated generator implementations
2021-12-07 11:12:44 -06:00
Christian Beikov 6c4ec95182 * Cleanup temporary table handling in dialects
* Fix insert handling with respect to version, discriminator and generated identifier insertion
* Introduce SqmMultiTableInsertStrategy to handle multi-table inserts
* Introduce the notion of an "entity table" similar to the "id table" to handle multi-table insertions
* Implement table based and cte based multi-table insertion to support all dialects
* Implement identifier generator optimizer support for multi-table insert
* Fix validation of insert target paths against select item types
* Fix some DML validations
* Implement over-clause support in SQL AST
* Fix multi-valued filter parameter support
2021-12-07 15:54:01 +01:00
Steve Ebersole 9028adc30e Clean up test logging (hibernate-core) 2021-12-06 10:12:25 -06:00
Jan Schatteman ce6850bdfa Remove 'statementInspectorClass' from @Jpa and refactor its usage to use
a @SettingProvider

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-25 18:42:32 +01:00
Andrea Boriero bdc1e4103d Merge remote-tracking branch 'upstream/main' into wip/6.0_merge 2021-11-24 16:48:43 +01:00
Yoann Rodière 35f374aac7 HHH-14936 Avoid NPE in JdbcConnectionContext's static init 2021-11-22 12:22:07 +01:00
Christian Beikov b8429bca42 Introduce a proper EmbeddableMappingType for id-class and handle id-class uses uniformly 2021-11-19 16:29:56 +01:00
Andrea Boriero c1e16b4e4a Re-enabled additional tests 2021-11-16 13:51:26 +01:00
Andrea Boriero 7dab08448f Re-enable additional tests 2021-11-15 14:00:52 +01:00
Steve Ebersole 7ce1c673ff JpaCompliance improvement 2021-11-11 17:03:40 -06:00
Christian Beikov 9a329f4991 Various fixes and move tests from test.jpa
* Remodel `@MapKey` support to not create subqueries in the on-clause anymore
* Make sure the index table group is reused for the to-one association a `@MapKey` refers to
* Consistently register collection part table groups
* Implement support for FK optimization for EntityCollectionPart
2021-11-11 15:49:30 +01:00
Jan Schatteman 723735ca76 Use org.hibernate.testing.orm.junit.RequiresDialect instead of org.hibernate.testing.RequiresDialect and indicate Dialect version where needed.
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-10 22:53:29 +01:00
Jan Schatteman c4401452dd Enable a SettingProvider[] in @Jpa and refactor away the NonStringValueSettingProvider class
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-10 22:53:29 +01:00
Andrea Boriero 9c9a326ae6 Fix Dialect#BatchLoadSizingStrategy#determineOptimalBatchLoadSize taking into account org.hibernate.cfg.AvailableSettings#IN_CLAUSE_PARAMETER_PADDING 2021-11-09 12:16:41 +01:00
Andrea Boriero f9d0b7d069 HHH-14876 Parameter padding for IN clauses doesn't work in Hibernate 6.0.0.Beta1 2021-11-09 12:16:41 +01:00
Steve Ebersole 0eee5ff5b0 HHH-14905 - Verify that custom JavaType and JdbcType registration combo works 2021-11-05 10:35:21 -05:00
Steve Ebersole 34cdd3077c HHH-14905 - Verify that custom JavaType and JdbcType registration combo works 2021-11-04 13:11:33 -05:00
Andrea Boriero 67c2c51d47 Re-enabled additional tests 2021-10-25 15:57:39 +02:00
Steve Ebersole db70fd38dd HHH-14877 - FetchMode.SUBSELECT ignored
Worked on FetchMode.SUBSELECT support but also worked on a few general collection fetch issues and a few improvements
2021-10-21 16:47:20 -05:00
bb7133 5bd27eb853 HHH-14576 : Introduce the dialect for TiDB 2021-10-20 16:19:22 +02:00
Christian Beikov 541302a511 Get rid of most basic type subclasses 2021-10-19 16:33:36 +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
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 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