Commit Graph

8869 Commits

Author SHA1 Message Date
Thomas Heigl 7c72115bcf HHH-15644 Add reproducer test 2022-11-18 12:26:20 +01:00
Andrea Boriero 3a0b5feda0 HHH-15640 ElementCollection with SubSelect FetchMode throws NPE, ownerEntry is null 2022-11-18 11:12:16 +01:00
Andrea Boriero 7337e0be2e HHH-15640 Add test for issue 2022-11-18 11:12:16 +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
Andrea Boriero dd5c455d88 HHH-15646 Using a generic DTO i get a ClassCastException: class sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to class java.lang.reflect.ParameterizedType 2022-11-18 11:04:28 +01:00
Andrea Boriero ccf24ac355 HHH-15646 Add test for issue 2022-11-18 11:04:28 +01:00
Andrea Boriero 385926e61b HHH-15624 java.lang.ClassCastException: class sun.reflect.generics.reflectiveObjects.WildcardTypeImpl cannot be cast to class java.lang.reflect.ParameterizedType when using generics and Wildcard 2022-11-18 11:04:28 +01:00
Andrea Boriero 8f2c3cc615 HHH-15624 Add test for issue 2022-11-18 11:04:28 +01:00
Andrea Boriero 4ca9c2bb3b HHH-15716 ClassCastException in QueryParameterBindingsImpl.generateQueryKeyMemento 2022-11-18 10:51:29 +01:00
Andrea Boriero 03f1ce9c49 HHH-15716 Add test for issue 2022-11-18 10:51:29 +01:00
Sanne Grinovero 44aa5288c7 HHH-15693 An additional minor polish to the previously applied optimisation 2022-11-17 17:48:03 +00:00
Gavin 6ef9b03f8b squash some warnings and remove some obsolete code + parameters 2022-11-17 15:45:47 +01:00
Andrea Boriero 476da28da9 HHH-15717 SQL script executed twice when using persistence.xml jakarta.persistence.sql-load-script-source property with the default sql script name 2022-11-17 15:45:19 +01:00
Andrea Boriero 9720037963 HHH-15717 Add test for issue 2022-11-17 15:45:19 +01:00
Gavin 479aa10e2f SchemaTruncator should reimport the load script after truncating 2022-11-17 11:15:53 +01:00
Jan Schatteman bc4554f86e HHH-2087 - Added test to verify issue is fixed
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-11-16 19:57:34 +01:00
Gavin 58e9c2a0fc use default noop methods on SessionEventListener
- also, mark it @Incubating, as was already documented
- improve the jdoc for SessionEventListener and StatementInspector
2022-11-16 18:20:08 +01:00
Sanne Grinovero be2999d054 HHH-15693 Introduce a fast-path access for ClassLoaderService being retrieved from ServiceRegistry 2022-11-16 17:12:28 +00:00
Sanne Grinovero 1eeccd32eb CacheHelper#fromSharedCache no longer needs to return a Serializable object 2022-11-16 15:15:06 +00:00
Gavin 3fabde0cd9 remove a method I accidentally pushed 2022-11-16 14:13:41 +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
Christian Beikov 7d9ffc6158 HHH-15728 Improve query cache key hash code to reduce collisions 2022-11-16 11:06:31 +01:00
Christian Beikov 68324b9297 HHH-15719 Hint UniqueSematics.NONE for entity queries without collection join fetches 2022-11-16 11:06:21 +01:00
Gavin 38c591f823 joc punctuation fix 2022-11-14 18:15:56 +01:00
Christian Beikov 8c1aa482f9 Switch to debug logging for reflection optimizer issues 2022-11-14 14:48:02 +01:00
Christian Beikov 99f9ccdd11 HHH-15569 Replace list and map with array to improve state extraction for entity initializing 2022-11-14 14:46:11 +01:00
Gavin 1d5f6b5c13 finish off jdoc for DDLTypes 2022-11-14 13:19:36 +01:00
Gavin e72d0aeb41 even more jdoc about query cache invalidation 2022-11-13 15:42:15 +01:00
Gavin 1d5c0a60d3 better error reporting in DialectContext and service registry 2022-11-13 15:35:53 +01:00
Gavin 110596adb7 deprecate two unused types in the cache SPI + add javadoc
also correct some errors in the names of types - this is
why it's better to use @link!!
2022-11-13 13:32:58 +01:00
Gavin cf9578a9e0 add some cross-refs to the Javadoc
so we can easily find where these settings ultimately come from
2022-11-13 11:42:46 +01:00
Gavin f58e450ea8 make a test more robust 2022-11-13 00:39:25 +01:00
Gavin dbc7b2359b extract an oft-repeated expression as a new method of JdbcTypeIndicators
write some Javadoc about types
2022-11-13 00:39:25 +01:00
Gavin 77a1be10b1 some cleanups + doc for SqlTypes 2022-11-12 12:02:17 +01:00
Gavin King 5dfb90bb73 HHH-15679 proposed fix to OffsetTime handling
The idea is: convert all OffsetTimes to the system offset before sending them on
2022-11-12 01:11:21 +01:00
Gavin 39f85a2dca HHH-15709 test value of timestamp literal 2022-11-12 01:09:00 +01:00
Gavin 1f9439b2ed HHH-15709 fix rendering of timestamp literal when there is no timezone
for Postgres, Cockroach, and H2
2022-11-12 01:09:00 +01:00
Gavin 9073d6192b Revert "fix an issue with postgres timestamp literals"
This reverts commit 0b021e56f9.
2022-11-11 21:30:01 +01:00
Gavin 0b021e56f9 fix an issue with postgres timestamp literals 2022-11-11 21:19:46 +01:00
Gavin 53d9935237 clean up some code duplication!
cc @beikov
2022-11-11 21:19:46 +01:00
Jan Schatteman f0ea66b872 HHH-15704 - Fix regression in StandardForeignKeyExporter and add test case for this issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-11-11 19:46:03 +01:00
Gavin 9eaeff05ec we forgot to deprecate ReplicationMode 2022-11-10 18:30:54 +01:00
Gavin 3762f4a6e5 more jdoc for "minimal puts" 2022-11-10 18:30:54 +01:00
Christian Beikov 61421d5d54 JPA requires that IllegalStateException be thrown instead of UOE 2022-11-10 16:44:06 +01:00
Christian Beikov 7a335393c7 HHH-15660 Make use of ReflectionOptimizer in more cases 2022-11-10 16:42:17 +01:00
Christian Beikov 7a14e5c07f HHH-15631 Enable reflection optimizer by default Christian Beikov 2022-11-10 16:42:17 +01:00
Christian Beikov 4fdbb3d5f6 Some reflection optimizer related fixes 2022-11-10 16:42:17 +01:00
Emond Papegaaij 2a93aa5467 HHH-15703 Append remainder of SQL fragment after last parameter 2022-11-10 16:28:07 +01:00
Christian Beikov 90a752a0ee HHH-15328 Add support for CTE WITH clause 2022-11-10 13:25:21 +01:00
Gavin King 215d411ffa HHH-15702 also add matching getters 2022-11-10 11:17:19 +01:00