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
Gavin
7c22a537d1
HHH-16544 add support for Oracle nested tables
...
... and clean up of some stuff about array type initialization
2023-05-03 16:31:36 +03:00
Gavin
c91cfdf2f1
HHH-16125 delete/fix a bunch of assertions that constrain implementation details
...
these are bad tests; they don't test observable behavior
2023-04-29 15:42:56 +02:00
Christian Beikov
203f28e14c
HHH-16528 Revert SybaseDialect NameQualifierSupport to CATALOG only and fix ansinull option for jconnect
2023-04-28 10:30:43 +02:00
Christian Beikov
aad0c55f9b
HHH-15833 Disable named parameters for jConnect JDBC driver
2023-04-28 10:30:43 +02:00
Yoann Rodière
a79b4df426
HHH-16497 Deprecate JUnit 4 testing annotations
2023-04-25 11:54:13 +02:00
Yoann Rodière
9a9f027f82
HHH-16458 Close JDBC statement when DeferredResultSetAccess fails to execute a query
2023-04-25 10:33:09 +02:00
Yoann Rodière
634d590e72
HHH-16459 Test bytecode-enhanced inline dirty tracking for generic associations from mapped superclasses
2023-04-14 08:45:13 +02:00
Gavin
7b8cd14052
HHH-16163 update tests to use new annotations
2023-04-08 13:10:46 +02:00
Sanne Grinovero
845e9770d5
HHH-16430 Avoid AnsiSqlKeywords to retain all keywords as static constants
2023-04-04 12:51:17 +02:00
Andrea Boriero
570ccae476
HHH-16097 Move all tests from documentation into hibernate-core
2023-03-24 07:43:13 -05:00
Steve Ebersole
6d968dc0ef
HHH-15108 - tweak to not ignore exceptions in AggregateClassLoader.findClass()
2023-03-17 14:36:42 -05:00
Steve Ebersole
e675962779
HHH-16311 - Migrate away from UserType for enum handling
2023-03-17 13:13:24 -05:00
Sanne Grinovero
c8111fc753
HHH-16223 Avoid using legacy HBM2DDL_CONNECTION
2023-03-07 21:39:17 +00:00
Sanne Grinovero
d0cdcb006d
HHH-16223 Deprecate HBM2DDL_DATABASE_ACTION
2023-03-07 21:39:17 +00:00
Andrea Boriero
df6ec56978
HHH-15895 Add test for issue
2023-03-01 09:42:18 -06:00
Sanne Grinovero
cf2e723d6f
HHH-16228 Dialect instance might be wrapped when doing instanceof checks for capabilities
...
To properly support the idea of wrapping the Dialect, we need
to take this into account whenever an `instanceof` is used
to check for Dialect capabilities.
Also some code is casting to the expected Dialect.
2023-02-27 22:53:31 +00:00
Christian Beikov
404698b004
Replace mockito for some tests with custom spies
2023-02-13 18:40:46 +01:00
Steve Ebersole
973434c8f1
HHH-16148 - Introduce Immutability (MutabilityPlan) for use with @Mutability
...
HHH-16141 - Support @Mutability and @Immutable on UserType
HHH-16147 - Support @Mutability and @Immutable on AttributeConverter
HHH-16146 - Improve User Guide documentation for (im)mutability
2023-02-10 08:38:40 -06:00
Christian Beikov
563880037e
Fix possible Mockito concurrency issue
2023-02-06 12:17:59 +01:00
Marco Belladelli
17506b7f80
HHH-16043 Add test for issue
2023-01-25 17:01:31 +01:00
Andrea Boriero
3d9a1bce9b
HHH-16049 Test setting a property to its current value with bytecode enhancement enabled
2023-01-24 10:40:52 +01:00
Yoann Rodière
5bd1f7c05b
HHH-16049 Test setting a property to its current value with bytecode enhancement enabled
2023-01-24 10:40:52 +01:00
Sanne Grinovero
800873c43d
HHH-16058 Removing Environment#getBytecodeProvider
2023-01-20 14:31:08 +00:00
Gavin
a3b2e9b4ae
HHH-16028 allow FunctionContributor to be registered programmatically
...
since we can do this with its friend TypeContributor
2023-01-12 00:36:14 +01:00
Gavin
ab48dc9ba1
remove an email address I missed
2023-01-05 20:21:01 +01:00
Jan Schatteman
d4cc873ad0
Add useCollectingStatementInspector() to @Jpa and refactor tests that can use it to do so
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-01-05 15:40:24 +01:00
Gavin
80feec0c53
use @value instead of @link + delete an obsolete logger
2023-01-05 12:15:27 +01:00
Gavin
b7b5fb7559
avoid the use of TypeConfiguration.getServiceRegistry()
2023-01-03 21:06:49 +01:00
LLEFEVRE
ccf4fac124
HHH-15961 Speed-up Oracle CI build
2023-01-03 10:26:46 +01:00
Gavin
7aa92a7c05
allow @Formulas to refer to columns of @SecondaryTables
...
(this is something that was previously only possible using hbm.xml)
also attempt a partial fixup of the initialization process where SessionFactoryImpl
constructor leaked out an uninitialized reference to itself (it still leaks, but
not as badly)
2023-01-02 21:45:02 +01:00
Gavin
76b2f92f39
HHH-15958 support the @RowId annotation on DB2 LUW
...
... and perhaps also on DB2 for z and i (no way to test it)
2023-01-01 17:25:07 +01:00
Gavin
689cca1963
HHH-15958 much better support for @RowId annotation
...
- the rowid pseudo-column and type are now determined automatically from Dialect
- works (after all these years) in Postgres (and also on h2)
- introduce RowIdJdbcType (not strictly necessary, but a nicety)
2023-01-01 14:20:44 +01:00
Gavin
c6f0be990c
yet more work on the API documentation
...
- and get rid of people's email addresses, they don't belong in the code
2022-12-29 15:03:09 +01:00
Gavin
bdc172c1df
nove NotImplementedYetException to hibernate-testing
2022-12-22 20:05:30 +01:00
Steve Ebersole
3f7dd8c23b
HHH-15799 - API/internal split for org.hibernate.cfg package
2022-12-21 07:48:35 -06:00
Steve Ebersole
ed4af59882
HHH-15884 - Clean-up EntityDiscriminatorMapping for API
...
HHH-15891 - Clean-up EntityVersionMapping for API
HHH-15892 - Clean-up EntityIdentifierMapping for API
2022-12-15 18:55:58 -06:00
Christian Beikov
bc36eb3eeb
HHH-15327 Support mapping aggregate embeddables as struct/json
2022-12-14 19:02:43 +01:00
Sanne Grinovero
2c3ac612db
HHH-15858 Cleanup of internal Session casts
2022-12-14 16:04:19 +00:00
Mark Rotteveel
9290f8b754
HHH-15812 Firebird dialect improvements
2022-12-06 11:38:51 +01:00
Steve Ebersole
1c083a5863
HHH-15393 - Improve write-paths to use mapping model
2022-11-30 15:36:28 -06:00
Steve Ebersole
a9ac98b364
HHH-15393 - Improve write-paths to use mapping model
...
HHH-15723 - Fix foreign-key modeling
2022-11-28 14:25:40 -06:00
Marco Belladelli
f38dd28043
HHH-15760 mass replace self-closing tags in javadoc
2022-11-26 09:49:56 +01:00
Christian Beikov
818bb41091
Teach CustomRunner to read orm.junit annotations
2022-11-23 20:44:33 +01:00
Christian Beikov
4914d14a43
HHH-15626 Move old databases to nightly pipeline and add some SQL Server 2022 features
2022-11-18 11:06:39 +01:00
Gavin
ed956d514a
HHH-15729 introduce SchemaManager, a programmatic API for schema export
...
featuring a brand new SchemaTruncator!
2022-11-16 14:10:08 +01:00
Gavin
1d5c0a60d3
better error reporting in DialectContext and service registry
2022-11-13 15:35:53 +01:00
Christian Beikov
90a752a0ee
HHH-15328 Add support for CTE WITH clause
2022-11-10 13:25:21 +01:00
Gavin King
89c1b0f0ce
HHH-15696 very basic test for multiply-mapped entity class
2022-11-09 18:20:04 +01:00
Gavin King
61c128000b
HHH-15672 introduce Generated(UPDATE) for properties only generated on update
2022-11-08 12:36:38 +01:00
Philippe Marschall
4aede4ca88
HHH-15670 Implement RequiresDialectFeature.reverse()
...
- implement RequiresDialectFeature.reverse()
- remove not-feature checks to reverse = true
2022-11-07 09:32:22 +01:00
Christian Beikov
0b733d4ba2
HHH-15641 Enable inlineDirtyChecking and lazyLoading for enhancement by default and deprecate the setting
2022-11-07 09:19:26 +01:00
Gavin King
6e8d609485
squash warnings + remove usages of some deprecated methods
2022-10-29 23:32:05 +02:00
Gavin King
f253d8f216
remove useless @JoinColumns annotation for mosts tests and examples
2022-10-29 02:09:00 +02:00
Gavin King
86906013c2
further cleanups to the Binder code
2022-10-29 02:09:00 +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
f13230803d
HHH-15590 Test that JdbcLiteralFormatter works for all supported java types
2022-10-13 15:21:51 +02:00
Gavin King
2a9f6dafee
Maria has a median() function
2022-10-07 10:28:04 +02:00
Gavin King
4a1fe85f0d
add test for median()
2022-10-06 21:41:28 +02:00
Sanne Grinovero
ba9bd35c9d
HHH-15563 BeanValidation integration should prioritize jakarta.persistence.validation over javax.persistence.validation
2022-10-01 18:31:57 +01:00