Commit Graph

1236 Commits

Author SHA1 Message Date
Christian Beikov 1a3629a571 Fix some tests and config. Enable all documentation tests. Add profile for PG13 2021-08-31 14:52:59 +02:00
Christian Beikov c01734adca Rely on fetch of version attribute mapping instead of creating domain result for version mapping for entity initializers to allow overriding the selection expression 2021-08-30 17:18:02 +02:00
Christian Beikov 58440ed42d Fix failing EmbeddableOverrideTest on old Oracle versions due to too long identifier 2021-08-30 17:18:02 +02:00
Andrea Boriero cdeb95a4d5 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-08-30 14:07:19 +02:00
Sanne Grinovero 9267c5e6a6 HHH-14792 Remove support for bytecode enhancement via Javassist 2021-08-26 15:22:30 +01:00
Andrea Boriero 64c331150b Re-enabled additional documentation tests 2021-08-23 18:57:28 +02:00
Christian Beikov 1544493edc Wire up custom collection types 2021-08-16 17:36:50 +02:00
Christian Beikov 2f166c31df Fix some documentation tests and respect filters in Session.find as per HHH-14772, and respect explicit polymorphism 2021-08-09 07:22:57 +02:00
Christian Beikov b6683d2352 Fix some more result set mapping issues and fix HHH-7525 as well as HHH-10504 2021-08-06 23:15:50 +02:00
Jan Schatteman 3ec8b27b2a Added doc notes on the filter clause and the ilike predicate
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-08-05 23:35:17 +02:00
Steve Ebersole 07ec4f208d asciidoctor task config 2021-08-05 10:04:54 -05:00
Christian Beikov ca22db14bb Fix some issues with collection-path related HQL functions minindex/maxindex/minelement/maxelement/elements/indices and group by item rendering problems 2021-08-05 09:50:28 +02:00
Steve Ebersole 53fc490181 Document value generation;
Moved `@CurrentTimestamp` from src/test/java to src/main/java
2021-08-03 14:03:32 -05:00
Steve Ebersole be8be18bc0 minor asciidoctor task improvements + update plugin to 3.1 version 2021-08-02 18:04:41 -05:00
Gavin King 7aeb03beea remove older getJdbcType() method 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 b26b00a358 Bump matrix testing plugin to 3.1.0 (prep for Gradle 7) 2021-07-14 11:44:35 -05:00
Andrea Boriero d6518e0c7a Re-enabled additional tests 2021-07-08 14:09:46 +02:00
Andrea Boriero 8895347867 Fix null dicriminator unable to cast MarkerObject to ... 2021-07-08 11:48:54 +02:00
Christian Beikov 6447ca9b26 HHH-14693, HHH-10668 Move non-supported dialects to the hibernate-community-dialects artifact and add the SQLite dialect originally contributed by Vlad Mihalcea which was adapted for Hibernate 6. Also add HSQLDB, MySQL and Sybase ASE configurations and a CI job config 2021-07-06 10:14:20 +02:00
Steve Ebersole 59f033194a Improved build configuration to better leverage Gradle up-to-date handling;
Preparation for moving to Gradle 7.0

- Moved custom Antlr plugin to hibernate-orm-build module
- more deprecation clean ups
2021-06-28 15:59:35 -05:00
Steve Ebersole 172ddf8700 Improved build configuration to better leverage Gradle up-to-date handling;
Preparation for moving to Gradle 7.0

- Improve Jakarta transformation handling (tests are also actually run now as a bonus);
- Improved CacheableHbmXmlTest to not write "ser" file to `${buildDir}/resources/test`
- Improved DatabaseService(Plugin)
- Update a number of plugins which did not handle up-to-date-ness properly
2021-06-26 08:46:09 -05:00
Christian Beikov 8e0864af10 Introduce SqmVisitableNode#appendHqlString to support indexed collection access paths 2021-06-22 17:55:20 +02:00
Andrea Boriero 6ca0be6d99 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-06-22 09:09:30 +02:00
Andrea Boriero 8fc45a9004 HHH-11817 Allow schema-export commands written to file to truncate in addition to current appending 2021-06-21 08:44:46 +02:00
Christian Beikov db6701cc93 Move annotations, bytecode, cache, cascade, cdi, cfg, cid, component, compositeelement, customstructures, deletetransient, dialect, dirtyness, entitymode, exceptionhandling, extendshbm, fetchprofiles, fetchstrategyhelper, flush, foreignkey, generatedkeys, hbm, hql, jpa, mapping packages. 2021-06-17 13:16:55 +02:00
Hibernate-CI fe3b6690c1 fixes to in-line jakarta transformation tasks
- fix path replacements (test bundles)
- drop inaccurate attempts to access javadoc/sources jar tasks and outputs for jakarta projects - they are not producing them (alternatively, and eventually will have to, we could have them produce those artifacts)
- skip jakarta modules for aggregated javadoc building
2021-06-16 09:55:38 -05:00
Andrea Boriero 105f91e910 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-06-15 11:50:01 +02:00
Sanne Grinovero 5b2289e883 HHH-14667 Avoid triggering the load of sequence metadata when not required
Also introduce SequenceMismatchStrategy#NONE, which allows to fully disable the checks
performed by SequenceMismatchStrategy on initialization; combining these two
changes, users have the option to fully skip loading the details about existing
sequences from the DB.
2021-06-11 11:55:46 +01:00
Andrea Boriero 6d59fec436 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-06-10 09:52:24 +02:00
Christian Beikov 10cba26bda HHH-14665 Use semi-colon as the default statement delimiter for scripts 2021-06-08 20:49:39 +02:00
Andrea Boriero 6ced2f0aca Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-06-07 12:47:53 +02:00
nathan.xu d828bfb086 HHH-14641 replace 'http://' reference with 'https://' 2021-06-04 12:09:45 +02:00
Andrea Boriero 451568f322 Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_7 2021-05-31 14:55:18 +02:00
Yoann Rodière 07eca3883d HHH-14635 Upgrade to log4j 2 2021-05-26 09:05:56 +02:00
Andrea Boriero ffae5474a6 Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_6 2021-05-24 20:41:03 +02:00
nathan.xu 2e875f9b8a HHH-14617 remove QueryLiteralRendering and LiteralHandlingMode 2021-05-20 11:26:22 +02:00
Steve Ebersole c7e37dc1d7 HHH-14513 : Move publishing release and snapshot artifacts to Sonatype OSSRH 2021-05-14 15:06:15 -05:00
Steve Ebersole c17396521c mariadb nationalization support 2021-05-13 12:43:59 -05:00
Steve Ebersole 71515af5cc HHH-14589 - Make sure documentation examples regarding basic-types work and update the section
- re-enable the basic-type tests in the `documentation` module
- fix basic-type resolution in various cases from tests in both `hibernate-core` and `documentation`
- updated the basic_types.adoc user-guide section + moved much of the "legacy" discussion to an appendix
- fixed missing impls of the optional contract `org.hibernate.type.AdjustableBasicType`
- improved handling of `NationalizationSupport` offered by a Dialect

NOTE :
- changes to `ColumnTransformerTest` are related to "composite basics" not being supported, not problems with `ColumnTransformer`.
- final failure in `org.hibernate.userguide.mapping.basic` is `SubselectTest#testRefreshLifecycle` which actually fails because refresh is not working properly
2021-05-13 09:58:20 -05:00
Nathan Xu 40851fc50d HHH-14406 fix Architecture svg image in user guide 2021-05-13 09:32:12 +02:00
Christian Beikov 1a24c93155 Move tests from packages actionqueue, annotations, batch, boot, bytecode, id, resource, schemafilter, schematools, schemaupdate, schemavalidation, serialization, service, tool, unidir, util 2021-05-06 07:29:57 +02:00
Yoann Rodière 7144af5990 HHH-12445 Auto-detect when discriminator columns are nullable 2021-05-04 09:18:55 +02:00
Andrea Boriero badc99705a Merge remote-tracking branch 'upstream/main' into wip/6.0_merge 2021-04-16 13:19:16 +02:00
Christian Beikov df9d285f2c Implement support for avoiding joins when accessing FK keys 2021-04-16 10:35:05 +02:00
Yoann Rodière fcc63d9ab0 HHH-14529 Stop using two separate BootstrapServiceRegistries for the same SessionFactory in BaseCoreFunctionalTestCase 2021-04-15 14:01:28 +02:00
Christian Beikov c4445fbf5c Work on named-native query support 2021-04-13 10:32:55 +02:00
Andrea Boriero e8a5506eb5 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-04-06 10:17:37 +02:00
sajad 298b1f87b7 HHH-14545 Fix typo "Generator" -> "GeneratorType" 2021-04-06 10:01:47 +02:00
Steve Ebersole c9b598389f HHH-14524 : Rename SqlType(X) as JdbcType(X)
fixed some inadvertent doc changes (thanks Christian)
2021-03-29 11:44:49 -05:00