Commit Graph

275 Commits

Author SHA1 Message Date
Sanne Grinovero 0a19854ae2 Keep dependency repository definitions well defined 2024-06-12 09:23:20 +02:00
Christian Beikov da22678c74 HHH-18154 Implement caching for assemblers and initializers
* Make initializers stateless and have separate data classes stored in the RowProcessingState
* Defer determination whether batching should apply and which lock mode should be used until startLoading
* Inline EntityEntry to EntityHolder to avoid map lookup
2024-06-10 09:48:01 +02:00
Steve Ebersole 1861eccc2c Upgrade XJC plugin to address branch-switch issues 2024-05-31 11:57:34 -05:00
Christian Beikov 76ca5fb790 HHH-10619 Add test for JTA timeout handling 2024-03-27 13:26:09 +01:00
Gavin King 4bc4ffe056 HHH-17778 rename jpametamodelgen -> processor 2024-03-01 22:58:59 +01:00
Gavin King 7636d78feb HHH-17778 rename JPAMetaModelEntityProcessor -> HibernateProcessor 2024-03-01 22:58:59 +01:00
Yoann Rodière 3b31351234 Move setting of net.bytebuddy.experimental to the Jenkinsfile
The hope is that whenever we add a new JDK version to test,
we'll notice this setting, will try to remove it and upgrade bytebuddy
if necessary. This would avoid mess-ups like the one that caused
https://github.com/hibernate/hibernate-orm/pull/7790
2024-02-06 13:42:21 +00:00
Jan Schatteman 62c17f1a51 HHH-17616 - Move resources that were still in src/java to src/resources (hibernate-core)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-01-08 10:04:27 +01:00
sreekarareddy 3d2a525eb5 HHH-17414 Create a UCP connection pool module 2023-12-21 18:02:15 +01:00
Steve Ebersole a2d45a2679 HHH-16962 - General documentation improvements
HHH-17141 - Prepare for 6.3.0 release

https://hibernate.atlassian.net/browse/HHH-16962
https://hibernate.atlassian.net/browse/HHH-17141
2023-08-29 13:20:19 -05:00
Christian Beikov 7c697f7e37 Fix Gradle toolchain issues 2023-08-16 09:13:53 +02:00
Steve Ebersole d3a1bd70ae HHH-17047 - Follow up tasks for Gradle 8.2 upgrade
- toolchains
- lazy Task creation
- documentation (documentation/ and release/) tasks
2023-08-14 07:57:48 -05:00
Steve Ebersole 306adef2a7 General Gradle work - toolchains 2023-08-14 07:56:52 -05:00
Andrea Boriero 40aa49b504 Fix java 17 build error with Gradle 8 2023-08-04 14:49:21 +02:00
Andrea Boriero 126a28e8f4 Fix jpamodelgen build error with Gradle 8 2023-08-04 14:49:21 +02:00
Sanne Grinovero d812da6567 HHH-16964 Disable Log4J2's management beans during integration tests 2023-07-21 11:41:00 -04:00
Gavin King 376a90f9b5 Bytebuddy -> Byte Buddy 2023-07-12 21:45:26 +02:00
Christian Beikov 8ce01de60c Fix build issues with JDK17+ 2023-04-27 09:52:33 +02:00
Andrea Boriero 570ccae476 HHH-16097 Move all tests from documentation into hibernate-core 2023-03-24 07:43:13 -05:00
Marco Belladelli c6fa754f06 HHH-16280 Fix JacksonXmlFormatMapper handling of array data types 2023-03-17 14:16:27 -05:00
Steve Ebersole e675962779 HHH-16311 - Migrate away from UserType for enum handling 2023-03-17 13:13:24 -05:00
Christian Beikov 8d93c0ca33 HHH-16224 Refactor discovery of exact JDBC drivers, avoid static state in specialized types 2023-03-03 15:13:01 +01:00
marko-bekhta 5d61b03b20 HHH-16217 Use only rendered Javadocs for collecting configuration properties 2023-03-01 13:26:49 -06:00
Gavin 33c228e715 add a Hibernate look to the javadoc
- add a new stylesheet
- include it in the release
- tidy up the overview page
- include overview and stylesheet when building jdoc from hibernate-core
2022-12-27 12:00:02 +01:00
Christian Beikov 7007bafe55 HHH-15872 Add ColumnOrderingStrategy SPI and handle record structs specially 2022-12-20 20:17:23 +01:00
Gavin 32790456b7 test select generator on h2 2022-12-20 01:38:55 +01:00
Gavin ed52dba650 make the gradle build quieter
also delete some obsolete stuff from before move to Java 11
2022-11-28 09:10:34 +01:00
Christian Beikov ee7c2ee041 HHH-15615 Add EDB PostgreSQL Advanced to test matrix and fix issues 2022-10-21 12:35:46 +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 bfa17d3fc7 Allow excluding tests of all sub projects, not just hibernate-core 2022-09-19 14:51:57 +02:00
Andrea Boriero 456e43957e Fix wrong toolchain configuration for java17 tests 2022-08-31 11:07:56 +02:00
Christian Beikov 3352486633 Fix building with JDK 20-ea due to missing experimental flag in java17Test 2022-08-30 19:13:17 +02:00
Christian Beikov f1c08e8e97 Fix wrong toolchain configuration for java17 tests 2022-08-30 12:58:07 +02:00
Christian Beikov 9f5f31ec97 HHH-15072 Add test for out of the box support for records as embeddables 2022-08-30 09:51:05 +02:00
Steve Ebersole 3635e4e935 build changes 2022-05-25 14:14:48 -05:00
Christian Beikov f2446e2ce5 Workaround XJC generation issue 2022-05-23 11:35:40 +02:00
Steve Ebersole 26dbafb2b3 HHH-15251 - Unified mapping XSD based on JPA 3.1;
- `mapping-3.1.0.xsd`
   - JAXB model for `mapping-3.1.0.xsd`
   - Overriding caching (region, usage, include) via partial mapping document
   - Initial hbm.xml -> mapping.xml transformation support
   - Gradle task for performing transformations
2022-05-20 06:46:44 -05:00
Christian Beikov c18e611ed6 HHH-15200 Add support for the SQLXML type 2022-05-05 09:07:37 +02:00
Steve Ebersole 9e9a8135dc HHH-15206 - Upgrade to ANTLR 4.10 2022-04-27 06:44:57 -05: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
Sanne Grinovero 432b393042 HHH-15204 Remove dependency to jakarta.activation:jakarta.activation-api 2022-04-13 07:14:52 +01:00
Sanne Grinovero 572171e27f Jandex, Classmate and commons annotations shouldn't be listed as API 2022-03-03 19:23:58 +00:00
Steve Ebersole 5436f441ae move remaining tests from o.h.test to o.h.orm.test 2022-01-26 17:06:53 -06:00
Steve Ebersole 55bfc59db1 fix gradle deprecations 2021-12-01 11:50:36 -06:00
Sanne Grinovero 334aeb1349 HHH-14946 Upgrading base requirements to Java 11 2021-12-01 17:34:28 +00:00
Steve Ebersole 31eb3b82c5 HHH-14905 - Verify that custom JavaType and JdbcType registration combo works 2021-11-04 13:11:33 -05:00
Steve Ebersole 34cdd3077c HHH-14905 - Verify that custom JavaType and JdbcType registration combo works 2021-11-04 13:11:33 -05:00
Christian Beikov a4e406a54e * Add SqlTypes as analogy to java.sql.Types containing constants for Hibernate specified types
* Add FormatMapper for a pluggable JSON serialization and deserialization strategy
* Add native UUID type support for H2, Cockroach, PostgreSQL
* Add native INET type support for Cockroach, PostgreSQL
* Add native JSON type support for MySQL, Cockroach, PostgreSQL
* Add native INTERVAL SECOND type support for H2, Cockroach, PostgreSQL
* Add fallback JdbcTypes for new SqlTypes
* Register column types for new SqlTypes
* Add support for BasicTypeReference in TypedParameterValue
* Fix a lot of method signatures with respect to type parameter issues
* Fix CustomType, UserType and EnhancedUserType with respect to type parameters
* Get rid of StringRepresentableType and some other unused deprecated methods
2021-10-19 16:33:36 +02:00
Steve Ebersole 0be2bcc0ca make Antlr runtime an explicit implementation dependency 2021-10-11 13:55:56 -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