Commit Graph

20230 Commits

Author SHA1 Message Date
Steve Ebersole 5d799730a1 HHH-18912 - ORM release process
https://hibernate.atlassian.net/browse/HHH-18912
2024-12-26 12:08:17 -06:00
Gavin King e006427920 fix assertion that I believe to be incorrect at least on Postgres
I don't think that's how Postgres arrays actually work
2024-12-23 19:42:31 +01:00
Gavin King 2f914a4fa9 remove obsolete comment about HSQLDB in jdoc of LockingStrategy 2024-12-23 19:23:17 +01:00
Gavin King eb47e6b3fa improve coverage of optimistic locking in the Short Guide 2024-12-23 19:23:17 +01:00
Gavin King 1a8cbad127 remove redundant typecast 2024-12-23 18:20:50 +01:00
Gavin King 35176b43e0 HHH-18983 add test for value generator implementing ExportableProducer 2024-12-23 18:20:50 +01:00
Gavin King 47976e140e HHH-18983 finish the job of fully-unifying value generators with id generators
by letting value generators implement Configurable and ExportableProducer
2024-12-23 18:20:50 +01:00
Gavin King b1c13376c9 some cleanups, jdoc, and refactoring of generator-related stuff 2024-12-23 18:20:50 +01:00
Gavin King 436284a7d6 more info about @Version in the doc 2024-12-23 00:49:16 +01:00
Gavin King d3a93dd3dd big improvements to docs surrounding ConnectionProvider 2024-12-22 10:39:17 +01:00
Gavin King 9dcae54dd7 add two additional convenience methods to HibernatePersistenceConfiguration
improve some jdoc
2024-12-22 08:44:02 +01:00
Gavin King aa26709cda make private some internal methods and an inner class 2024-12-22 01:03:12 +01:00
Gavin King 77fe5fe445 remove unused @Internal methods 2024-12-22 01:03:12 +01:00
Gavin King a6996ee2d8 add a comment about autocommit in Hikari 2024-12-22 01:03:12 +01:00
Gavin King 4fc4151bc8 update connection pooling docs 2024-12-22 01:03:12 +01:00
Gavin King 617359f1b6 add HibernatePersistenceConfiguration.jdbcPoolSize 2024-12-22 01:03:12 +01:00
Gavin King 2487390615 report the name of the ConnectionProvider along with the other info 2024-12-22 01:03:12 +01:00
Gavin King 879dca2a08 properly validate transaction isolation level 2024-12-21 22:14:58 +01:00
Gavin King baa98e981f make all connection pools respect hibernate.connection.pool_size
should have done this a long time ago :)

also a bunch of refactoring to make connection pool config more robust
2024-12-21 22:14:58 +01:00
Gavin King 63bd86e2db also convert Hikary config properties to String 2024-12-21 22:14:58 +01:00
Gavin King 8dd1b0daf7 introduce ConnectionProviderConfigurationException 2024-12-21 22:14:58 +01:00
Gavin King fb94a0be70 convert properties passed to Agroal to strings
note that the "garbage cast" in the TODO actually
resulted in a bad user experience
2024-12-21 22:14:58 +01:00
Gavin King 4a3d3bab9d fix a mistake in the documentation 2024-12-21 14:55:35 +01:00
Gavin King 6616bde0c3 extract a method 2024-12-21 13:08:02 +01:00
Gavin King bc6d3431da add two @implNotes 2024-12-21 13:08:02 +01:00
Gavin King 8d9e639b2e remove ref to ResolveNaturalIdEventListener from hibernate-graalvm 2024-12-21 12:31:35 +01:00
Gavin King a61a738b27 get rid of a raw type 2024-12-21 12:31:35 +01:00
Gavin King 07ecda306a HHH-18959 remove unused ResolveNaturalIdEvent stuff
this has all been obsolete since Hibernate 6.0
2024-12-21 12:31:35 +01:00
Gavin King 18c56775da remove unused interface LiteralConsumer 2024-12-21 11:32:24 +01:00
Gavin King 1be4428719 move the SQM tuple support into the correct package namespace
this was placed in a location which it would be part of the
public API of the org.hibernate.query package, which is wrong,
since it is not API, nor is it even exposed on any SPIs, as
far as I can discern

cc @beikov
2024-12-21 11:32:24 +01:00
Gavin King 6816f721be move @Incubating ReturnableType to same package as its super/subtypes 2024-12-21 11:32:24 +01:00
Gavin King 414e4ee4be use a LinkedHashMap for better ordering of members in generated code 2024-12-21 09:12:55 +01:00
Gavin King fa4cd9e9e5 simple refactorings to Processor code 2024-12-21 09:12:55 +01:00
Gavin King 2efcb1de6b add tests for UPDATE queries in reactive and regular repos 2024-12-20 22:40:50 +01:00
Gavin King 3b3bd5ec1a more work on data events 2024-12-20 22:40:50 +01:00
Gavin King 24df225d80 fixes for UPDATE queries 2024-12-20 22:40:50 +01:00
Gavin King c9b6986f69 implement support for Jakarta Data events
(no events for reactive repos)
2024-12-20 22:40:50 +01:00
Gavin King 48a2d9177c license headers and ws 2024-12-20 22:40:50 +01:00
Gavin King 4a3e6c7cfe test showing two problems with user types
1. they must be public classes, or Hibernate refuses to instantiate them
2. even after making it public the EnhancedUserType fails in a trivial test
2024-12-20 18:45:28 +01:00
Gavin King dc3ce66e20 clean imports 2024-12-20 17:59:09 +01:00
Gavin King 5b4a6df152 remove a TODO 2024-12-20 16:36:32 +01:00
Gavin King da7acbfe6b very minor changes 2024-12-20 16:36:32 +01:00
Christian Beikov 3f666cd848 Try to workaround hibernate-platform not being published to maven local 2024-12-20 15:32:29 +01:00
Christian Beikov adb2c1e023 Try to workaround hibernate-platform not being published to maven local 2024-12-20 15:09:40 +01:00
Christian Beikov 6b75af0902 Try to workaround hibernate-platform not being published to maven local 2024-12-20 14:37:41 +01:00
Christian Beikov 4db9b19e86 Try to workaround hibernate-platform not being published to maven local 2024-12-20 14:26:26 +01:00
Christian Beikov c27b134e69 Try to workaround hibernate-platform not being published to maven local 2024-12-20 14:06:45 +01:00
Christian Beikov 071bc279e4 Try to workaround hibernate-platform not being published to maven local 2024-12-20 13:53:28 +01:00
Gavin King ca58bbe129 get rid of useless "throws HibernateException" in SessionImpl 2024-12-20 13:47:19 +01:00
Gavin King 1710eda5c7 HHH-15848 clean up unnecessary logging and tx stuff in Session.isDirty() 2024-12-20 13:47:19 +01:00