Commit Graph

684 Commits

Author SHA1 Message Date
Gavin King f0f96916ad abbreviated source header 2024-09-16 21:26:00 +02:00
Gavin King de921ad473 cleanups by spotless 2024-09-16 21:26:00 +02:00
Andrea Boriero b407aa7679 HHH-18489 Test initialization of unowned, lazy one-to-one associations 2024-09-16 12:01:30 -05:00
Yoann Rodière 434b32e494 HHH-18489 Test initialization of unowned, lazy one-to-one associations (and more) in queries 2024-09-16 12:01:30 -05:00
Yoann Rodière 4b33d0d067 HHH-18602 Expose `determineDatabaseVersion` in `Dialect` 2024-09-12 12:48:38 -05:00
Jan Schatteman 8da3f3700f HHH-18592 - Remove deprecated @TestForIssue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-09-10 14:09:20 +02:00
Gavin King 0dd2defc89 @SuppressWarnings({"UnusedDeclaration"}) -> @SuppressWarnings("unused")
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-09-05 10:46:52 +02:00
Gavin King 4781c09d0d migrate toward the new PersistenceUnitTransactionType from JPA 3.2
clean up the test base classes etc.

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-09-04 09:27:46 +02:00
Gavin King dd16ed61f0 fix and clean up AbstractJPATest
clean up LockTest a little

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-09-01 22:21:33 +02:00
marko-bekhta 28988a9a5c HHH-18488 Bump the jboss logging dependency 2024-08-28 10:36:21 -05:00
Steve Ebersole f2afee75d8 HHH-2003 - Collections which are fetched AND restricted should not be written to second-level cache 2024-08-15 13:52:33 -05:00
Steve Ebersole 2273365e06 HHH-17448 - Add newly standard column annotation attributes to Hibernate column annotations 2024-08-15 13:52:32 -05:00
Jan Schatteman 5dd0aa1e1a HHH-18037 - Move DerbyDialect to hibernate-community-dialects
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-15 13:52:32 -05:00
Steve Ebersole 08f08b8820 HHH-18190 - Remove @LazyCollection 2024-08-15 13:52:32 -05:00
Andrea Boriero 53bca2467d HHH-18449 Remove deprecated Integrator#integrate form 2024-08-15 13:52:32 -05:00
Steve Ebersole 7b55b4c18e HHH-18441 - Create extension to PersistenceConfiguration 2024-08-15 13:52:32 -05:00
Jan Schatteman 8eb7d5457e HHH-18443 - Drop SessionFactoryBuilder#enableJpaListCompliance
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-15 13:52:32 -05:00
Andrea Boriero dcdcd257c3 Remove use of session#save, session#saveOrUpdate , session#update and session#remove from tests 2024-08-15 13:52:31 -05:00
Steve Ebersole b7bac9464a rebase main -> 7.0 2024-08-15 13:52:31 -05:00
Andrea Boriero 82df529ebb HHH-18411 - Add ability to specify a custom UuidGenerator.ValueGenerator 2024-08-15 13:52:31 -05:00
Steve Ebersole e136e5b04c HHH-18306 - Implicit instantiation for queries with single selection item broken
HHH-18401 - SelectionQuery needs better validation of query return type
2024-08-15 13:52:30 -05:00
Steve Ebersole bfd63ec5a5 HHH-18396 - Transform property-ref for one-to-one 2024-08-15 13:52:30 -05:00
Gavin King 7e536a269e HHH-18207 remove deprecated Dialect classes (#8487)
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:28 -05:00
Gavin King c4868bbdaf removal of deprecated unused code for H7 (#8485)
* remove unused stuff already marked forRemoval
* remove old NamingStrategy stuff which does not actually work anymore
* some cleanups to the mapping package
  - make a couple of deprecated methods private
  - delete some unnecessary code
  - remove all obsolete "iterator" methods
2024-08-15 13:52:28 -05:00
Gavin King 51acbd04dc simplify ObjectNameNormalizer
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:28 -05:00
Andrea Boriero 79e7cc6f01 HHH-18056 Support for JPA 32 table options 2024-08-15 13:52:27 -05:00
Andrea Boriero 5caa0b2735 HHH-18056 Support for JPA 32 table options 2024-08-15 13:52:27 -05:00
Christian Beikov 0b770f9b17 JPA 3.2 support WIP 2024-08-15 13:52:25 -05:00
Steve Ebersole 28d348e20b HHH-17460 - Ongoing JPA 32 work 2024-08-15 13:52:25 -05:00
Steve Ebersole c5f1c80040 HHH-17460 - Ongoing JPA 32 work
- mapping defaults & persistence unit defaults
2024-08-15 13:52:24 -05:00
Gavin King e086674878 rename hibernate-jpamodelgen to hibernate-processor 2024-08-15 13:52:24 -05:00
Steve Ebersole 8190a1a6da HHH-18454 - Skip connection provider retrieval and DB info logging when booting offline 2024-08-05 17:44:01 -05:00
Steve Ebersole 2f3a01fd19 HHH-18411 - Add ability to specify a custom UuidGenerator.ValueGenerator 2024-07-24 16:18:40 -05:00
Jan Schatteman f556ba9e90 HHH-18224 - standardize logging of database connection
HHH-18224 - add database logging info support also to MultiTenantConnectionProvider. Log output through subsystem logging.
HHH-18224 - remove duplicated database info logging
HHH-18224 - complete refactor of DatabaseConnectionInfo and add more info
HHH-18224 - add standard database info logging to the proxool connection provider
HHH-18224 - add min/max pool sizes to standard db logging

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-07-24 11:13:35 -05:00
Vladimír Kuruc 2823dbeb76 Fixed Informix physical naming strategy compatibility 2024-07-05 17:04:44 +02:00
Gavin King c1624dce98 minor code style improvements to ConnectionProviders
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-27 19:49:12 +02:00
marko-bekhta 045053ff8a HHH-17030 Followup: move schema check to launcher listener 2024-05-31 15:22:00 +02:00
Yanming Zhou 0e0ad7b6ed HHH-18156 Fix operation is not allowed from within a pluggable database 2024-05-23 10:52:54 +02:00
Christian Beikov d02d8d7af6 HHH-17030 Rework the initializer interactions and polish the interface design 2024-05-22 20:00:57 +02:00
marko-bekhta 98e09163e1 Provide a way to override global env properties in a test ConnectionProviderBuilder 2024-05-13 21:10:42 +02:00
Yoann Rodière fa35e99543 HHH-18080 Fix default version handling in dialects when not using JDBC metadata
* Use the minimum supported version instead of '0.0.0'
* Don't warn about version '0.0.0'
2024-05-08 07:08:14 -05:00
Christian Beikov d1b30e1ab8 HHH-15862 Support basic array values in aggregate components 2024-05-07 21:00:12 +02:00
marko-bekhta 19e495d8da Convert bytecodeenhanced tests to use JUnit 5 extensions 2024-05-01 07:36:14 -05:00
Jan Schatteman 454e1cb774 HHH-17824 - Extend the use of @Jpa to test methods
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-28 08:51:49 -05:00
Marco Belladelli f5ddee44dc Prevent caching JtaAwareConnectionProviderImpl wrapped Connections 2024-03-27 17:46:03 +01:00
Christian Beikov 76ca5fb790 HHH-10619 Add test for JTA timeout handling 2024-03-27 13:26:09 +01:00
Gavin King 6441c60255 HHH-17859, HHH-17858 function() and column() functions 2024-03-17 11:14:57 +01:00
Gavin King 53301b530d HHH-17833 change log warnings for invalid mappings to exceptions
finally decided to just put an end to this because it's bad and that's that
2024-03-11 00:13:41 +01:00
Christian Beikov 4ac91f793f HHH-14867 Don't forcefully acquire connection for transaction handling 2024-02-20 17:01:18 +01:00
Gavin King e732cddb09 HHH-17746 add typed setProperty() methods to Configuration
and fix handling of DEFAULT_NULL_ORDERING
2024-02-17 12:42:09 +01:00