Commit Graph

655 Commits

Author SHA1 Message Date
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
Gavin King 24937b4e67 HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
report SemanticExceptions with the query string
fix some warnings in ReflectHelper
2024-02-12 00:16:06 +01:00
Andrea Boriero 13c714c4c4 HHH-16454 Add test for issue 2024-02-08 12:06:11 +01:00
Christian Beikov bb4ed4b000 HHH-17506 Support ON CONFLICT clause for HQL/Criteria inserts 2023-12-21 18:01:30 +01:00
Christian Beikov 46545bbdb5 HHH-17417 Workaround Oracle driver issue to reduce connection creation 2023-11-10 18:49:27 +01:00
Jan Schatteman cc306acf10 HHH-17162 - Deprecate/rename former bulk id strategy settings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-25 18:57:35 -05:00
Jan Schatteman cb6a78dc44 HHH-17301 - Reduce amount of connections
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-19 11:27:45 +02:00
Christian Beikov 2cb4652688 HHH-16780 Add array_agg and array constructor function 2023-10-18 17:38:25 +02:00
Steve Ebersole 96a000e8ab HHH-17164 - Proper, first-class soft-delete support
https://hibernate.atlassian.net/browse/HHH-17164
2023-10-10 08:25:50 -05:00
Yanming Zhou de09122ba4 Use consistent term "shortcut" 2023-10-09 18:55:25 +02:00
Christian Beikov ccb093e553 HHH-16781 @JavaType annotation is ignored when basic type is already registered for the preferred JdbcType 2023-09-29 18:22:25 +02:00
Jan Schatteman 7d197329d6 HHH-17187 - Disallow UUIDs with a trailing 0 byte in tests
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-09-19 09:16:54 +02:00
Christian Beikov dd9a51a53a Implement sane collection of skip/require dialect annotations 2023-09-07 14:43:31 +02:00
Christian Beikov 2176d3aaeb Account for PG < 14 not supporting stored procedure OUT parameters 2023-09-06 20:02:37 +02:00
Christian Beikov d4accd0233 Make use of connection pooling in most tests 2023-09-06 14:57:05 +02:00
Christian Beikov ea9a91502f HHH-16952 Discover embeddable types through @Embedded annotation for enhancement in a pre-discovery phase 2023-08-28 18:55:04 +02:00
Christian Beikov 13bc7ff38c HHH-16952 Discover embeddable types through @Embedded annotation for enhancement in a pre-discovery phase 2023-08-28 18:24:45 +02:00
Jan Schatteman 2220cf7fe5 HHH-15535 - Remove support for H2 versions older than 2.1
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-08-28 14:37:40 +02:00
Gavin King 7effc40e13 HHH-15939 test for fixed issue 2023-07-24 20:19:46 +02:00
Sanne Grinovero 042ea16b37 HHH-16963 Avoid H2's capability to register a JVM shutdown hook: causes classloader leaks during tests 2023-07-21 11:43:01 -04:00
Jan Schatteman 2e73795e4b HHH-16515 - Add o.h.exception to nullness checking
HHH-16515 - Add o.h.integrator to nullness checking

HHH-16515 - Add o.h.service to nullness checking

HHH-16515 - Add o.h.engine.jndi to nullness checking

HHH-16515 - Add o.h.engine.config to nullness checking

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-07-17 21:56:22 +02:00
Jan Schatteman 314f2d7b7a Revert "HHH-16515 - Add o.h.exception to nullness checking"
This reverts commit c5c3bb8ac8.
2023-07-15 00:38:45 +02:00
Jan Schatteman c5c3bb8ac8 HHH-16515 - Add o.h.exception to nullness checking
HHH-16515 - Add o.h.integrator to nullness checking

HHH-16515 - Add o.h.service to nullness checking

HHH-16515 - Add o.h.engine.jndi to nullness checking

HHH-16515 - Add o.h.engine.config to nullness checking

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-07-14 21:42:25 +02:00
Sanne Grinovero ea56fbdb53 Deleting some unused code 2023-06-26 14:38:59 +01:00
Gavin King 4bdfb2da25 clean up warnings in BaseCoreFunctionalTestCase 2023-06-05 20:07:23 +02:00
Sanne Grinovero 3a40f9c829 HHH-16716 Expose ParameterMarkerStrategy on JDBCServices 2023-05-30 12:27:37 +01:00
Gavin be2319b59c HHH-16699 promote repeat() function
emulate it on Oracle using rpad()

unsupported on Derby
2023-05-26 08:55:56 +02:00
Christian Beikov f49bce8bde HHH-16656 Register ranking window functions for H2 1.4.200 2023-05-22 18:53:09 +02:00
Christian Beikov bee160e9f2 HHH-16541 Don't report supportsSkipLocked() for Sybase 2023-05-17 16:22:31 +02:00
Gavin b7a8f4940e pool configuration 2023-05-13 21:08:47 +02:00