Commit Graph

772 Commits

Author SHA1 Message Date
Gavin King 526b3659c8 more correct test code 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 d16073f7ce remove dependency on hibernate-core tests from hibernate-envers 2021-07-27 19:38:44 -05:00
Andrea Boriero 98e64579fa Merge branch 'main' into wip/6.0 2021-07-16 11:24:53 +02:00
Andrea Boriero 8b02aaf5a8 HHH-14608 Merge causes StackOverflow when JPA proxy compliance is enabled 2021-07-15 21:01:09 -07:00
Steve Ebersole b26b00a358 Bump matrix testing plugin to 3.1.0 (prep for Gradle 7) 2021-07-14 11:44:35 -05: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
Andrea Boriero 6ca0be6d99 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-06-22 09:09:30 +02:00
Christian Beikov 107849c3c8 Fix jakarta sources transformation issues 2021-06-16 08:37:14 +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
Steve Ebersole c7e37dc1d7 HHH-14513 : Move publishing release and snapshot artifacts to Sonatype OSSRH 2021-05-14 15:06:15 -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
Christian Beikov ff9e9eebc9 HHH-13946 Create Jakarta artifacts for hibernate-core, hibernate-envers, hibernate-jpamodelgen and hibernate-testing 2021-04-30 11:41:05 +02:00
Andrea Boriero c48606a5aa Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_1 2021-04-20 09:45:47 +02:00
Yoann Rodière 4264bc55ac HHH-14563 Remove the DOM4J dependency from hibernate-core 2021-04-19 15:39:35 +02:00
Yoann Rodière b076216e84 HHH-14563 Remove XmlMappingOptions
We don't need that anymore: XML mapping is either enabled or disabled,
there are no other options. So a boolean will do.
2021-04-19 15:39:35 +02:00
Andrea Boriero badc99705a Merge remote-tracking branch 'upstream/main' into wip/6.0_merge 2021-04-16 13:19:16 +02:00
Yoann Rodière 8ab3a2f7e9 HHH-14529 Configuration and wiring to prefer JAXB over DOM4J for orm.xml handling 2021-04-15 14:01:28 +02:00
Andrea Boriero 9c27e41184 Remove o.h.testing.junit5 package 2021-04-10 12:32:18 +02:00
Andrea Boriero b176814b44 Re-enable envers test 2021-04-08 18:04:35 +02:00
Steve Ebersole 7fcde66d61 HHH-14524 : Rename SqlType(X) as JdbcType(X) 2021-03-29 11:33:56 -05:00
Gavin King 3c72f6fe12 cleanup lots of warnings, especially generics-related 2021-03-26 18:45:18 +01:00
Gavin King bbf4619fcd remove deprecated Sort annotation 2021-03-25 18:54:41 +01:00
Gavin King c89319f3e9 remove AccessType annotation 2021-03-25 18:54:41 +01:00
Gavin King 4b56842c7f make @AttributeAccessor annotation typesafe 2021-03-25 18:32:21 +01:00
Andrea Boriero c3df793dbe HHH-14509 : Git master -> main branch renaming 2021-03-22 12:38:00 +01:00
Andrea Boriero 96d103215c Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-03-22 12:26:31 +01:00
Steve Ebersole 725faa258f HHH-14509 : Git master -> main branch renaming 2021-03-19 10:59:03 -05:00
Chris Cranford 5dfbaf58ef Lookup RevisionTypeType rather than re-create CustomType instances 2021-03-12 08:32:07 +01:00
Chris Cranford 2cf8131f6e Fix JdbcParameterBinding with RevisionType enum 2021-03-12 08:32:07 +01:00
Andrea Boriero cb603a337b Removed use of EntityPersister#getEntityTuplizer() 2021-03-04 17:29:26 +01:00
Steve Ebersole ddf434df7e HHH-14469 - Support schema-tooling on sub-sets of the relational model known to Hibernate
- @BootstrapServiceRegistry
- Support for filtering at schema-tooling level
2021-03-04 09:42:45 -06:00
Gavin King 7b7597f40e modernize Interceptor + Lifecycle interfaces 2021-03-04 15:24:02 +01:00
Gavin King b3aa7d0794 remove Serializable id from the Tuplizer stuff 2021-03-04 15:24:02 +01:00
Christian Beikov 4931c7e69f Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-02-10 12:00:37 +01:00
Christian Beikov de1524df68 Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-02-10 11:28:58 +01:00
Christian Beikov 15caff9cbc Fix PostgreSQL cleanup wrt extensions, fix Oracle cleanup wrt sys objects, always drop id tables in tests, fix global temp table tests, add on commit delete rows for hana dialects 2021-02-10 09:30:48 +01:00
Christian Beikov 1983123d72 Use a shared connection provider for most tests to reduce test time significantly 2021-02-03 17:03:47 +01:00
Christian Beikov 08d9fe1a3b Add cleaners for clearing a schema the first time before running a test 2021-02-03 17:03:47 +01:00
Christian Beikov d767d46d05 Fix most tests to work on all DBs and fix a bunch of connection leaks 2021-02-03 17:03:47 +01:00
Andrea Boriero 6d124a7c6d Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-01-14 11:34:06 +01:00
Christian Beikov 4de1870785 HHH-14318 Introduce column mapping abstract to support formulas easily 2020-12-17 17:44:25 +01:00
Sanne Grinovero 92bca8f4f1 HHH-14356 Have Hibernate Envers produce a user friendly bootstrap exception if xml_mapping_enabled=false 2020-12-14 16:31:15 +00:00
Andrea Boriero bb4c4d0767 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-11-24 12:33:51 +01:00
Christian Beikov c3eaa7cf30 HHH-13945 Fix issues on PostgreSQL 2020-11-23 14:44:51 +01:00
Luke Chen e3a9ee61f2 HHH-13945: add debug log during exception thrown 2020-11-23 13:52:19 +01:00
Luke Chen 2404ff56ab HHH-13945: catch PersistenceException during envers unproxy the field value, and fallback to using proxy entity 2020-11-23 13:52:19 +01:00
Luke Chen 2228bd238e HHH-13945: fallback to call map if exception thrown 2020-11-23 13:52:19 +01:00