Commit Graph

11568 Commits

Author SHA1 Message Date
Marco Belladelli 09b5829e8e HHH-17867 Add test for issue 2024-03-25 18:13:57 +01:00
Christian Beikov 569ae56aba HHH-17801 Resolve enum basic types to avoid type validation issues 2024-03-25 17:28:48 +01:00
Gavin King 77916c8304 10 years is more than long enough for users to be fully WARNed 2024-03-25 17:26:31 +01:00
marko-bekhta d3357fe719 HHH-17872 Make sure that JdbcServicesImpl does not return a null SqlExceptionHelper 2024-03-25 17:21:00 +01:00
Marco Belladelli 234b24c922 HHH-17878 `Configurable` generators and `@IdGeneratorType` 2024-03-25 16:13:27 +01:00
Gavin King b75cccfc4d fix a couple of warnings 2024-03-25 13:27:18 +01:00
Gavin King f81124c511 fix an ancient error message 2024-03-24 18:27:34 +01:00
Gavin King 31a63b1b1b introduce @Suppress annotation to disable processor 2024-03-22 14:20:39 +01:00
Gavin King c14c608199 extract a method 2024-03-21 16:45:05 +01:00
Gavin King 9362964ebd HHH-17874 deprecate @GenericGenerator 2024-03-21 16:45:05 +01:00
Gavin King 49b80f636d use a static final since we have it sitting there 2024-03-21 16:45:05 +01:00
Marco Belladelli 415a27434f HHH-17472 Move `allowAssignedIdentifiers()` up to `Generator` interface
Also test with `@IdGeneratorType`
2024-03-21 16:18:30 +01:00
marko-bekhta 22966aea6a HHH-17779 Add UnsupportedOperationException throwing impl of getKeyedResultList to the AbstractQuery 2024-03-21 09:07:17 +01:00
Christian Beikov 5817fd9323 HHH-17759 Avoid costly string search and replace 2024-03-20 16:37:44 -05:00
dgh 59e3f352cc HHH-17759 Avoid need for undocumented escaping of colon characters in native queries 2024-03-20 16:37:44 -05:00
Gregorio Palamà 527beb0bdb HHH-14968 - Support for auto-enabled filters 2024-03-20 16:08:11 -05:00
Andrea Boriero 62d1f1a13a HHH-17568 The none variant of BytecodeProviderImpl @Nullable ReflectionOptimizer getReflectionOptimizer(Class<?> clazz, Map<String, PropertyAccess> propertyAccessMap) should return null 2024-03-20 11:41:39 -05:00
Andrea Boriero e4e26ee989 HHH-17073 Add PrePartialAutoFlush listeners 2024-03-20 16:39:40 +01:00
Andrea Boriero fe77bcfee9 HHH-17073 Auto flush broken when using sequence generator ID 2024-03-20 16:39:40 +01:00
Andrea Boriero 7a4523a470 HHH-17073 Add test for issue 2024-03-20 16:39:40 +01:00
Steve Ebersole d93bc3c5c8 prep 6.5 2024-03-20 08:56:47 -05:00
Gavin King bcc3ea60de HHH-17868 introduce @Pattern annotation 2024-03-20 11:29:32 +01:00
Jan Schatteman 30afa87434 HHH-9482 - Avoid automatic timing out when requested timeout is 1 second
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-18 13:32:45 +01:00
Christian Beikov bf807f2694 HHH-17854 Avoid adding plural attribute restrictions multiple times 2024-03-18 11:52:06 +01:00
Gavin King ba442f5d18 HHH-17859, HHH-17858 redisable cast to UUID
but leave a comment
2024-03-17 11:14:57 +01:00
Gavin King 6441c60255 HHH-17859, HHH-17858 function() and column() functions 2024-03-17 11:14:57 +01:00
Gavin King 1ba67c2de9 squash a couple of warnings in IntelliJ
use requireService()
2024-03-17 11:14:57 +01:00
subijayb 75e3ef9383 HHH-17743 Allow updates outside transaction 2024-03-15 17:43:28 +01:00
Christian Beikov fcf722a9f8 HHH-17830 Fix rendering custom predicate for element collection joins 2024-03-15 15:41:50 +01:00
Gavin King 0d132f749d HHH-17853 allow compound paths in Order objects
needed for Jakarta Data @OrderBy annotation
2024-03-14 23:41:42 +01:00
Gavin King 3e8b1b37be HHH-17851 fix three bugs in Jakarta Data impl
- overloaded lifecycle methods
- handling of delimited compound names
- some missing imports
2024-03-14 23:41:42 +01:00
Steve Ebersole f898de7e98 HHH-17850 - Add jacoco test coverage to the build 2024-03-14 15:00:56 -05:00
Philippe Marschall e6c106f527 HHH-17596 Use new Byte Buddy API
Update code to replace deprecated Byte Buddy code
with replacement.
2024-03-14 16:16:52 +01:00
Gavin King 557a4f16da HHH-17848 tolerate primary table name in @SqlXxxx annotations
just cleaning up a TODO I left behind a while ago
2024-03-14 14:30:52 +01:00
Sanne Grinovero 6c4aa400d4 Reorganize guards in SqlStatementLogger 2024-03-14 14:13:19 +01:00
Sanne Grinovero b20ba40467 Remove deprecated dead code 2024-03-14 14:13:19 +01:00
Sanne Grinovero d613c69863 Micro optimisations of StandardRowReader 2024-03-14 14:13:19 +01:00
Cedomir Igaly c958b429f2 HHH-17600 - Properly setting next index if ListIndexBase annotation is present 2024-03-14 13:36:13 +01:00
Cedomir Igaly 8e749cbf21 HHH-17600 - Changed test class to really test handling of ListIndexBase annotation 2024-03-14 13:36:13 +01:00
geonhee.lee 5f2342bc9e HHH-14810 @NotBlank and @NotEmpty were used, "NOT NULL" option wasn't add in generated DDL.
- add @NotEmpty, @NotBlank annotation on applyNotNull method in TypeSafeActivator
- add test case for checking NotNull DDL rule
- remote deprecated annotation on DDLTest
2024-03-14 13:29:09 +01:00
Jan Schatteman edf77774e3 HHH-17671 - Fix issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-14 12:07:37 +01:00
Jan Schatteman 21d3ea4ea8 HHH-17671 - Add test for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-14 12:07:37 +01:00
Marco Belladelli 67f573a6bf HHH-17777 Enforce no alias on fetch joins when jpa compliance is enabled 2024-03-14 12:05:52 +01:00
Marco Belladelli 3ce10df785 HHH-17777 Reuse existing fetch-joins if requesting the same join type 2024-03-14 12:05:52 +01:00
Marco Belladelli b3955d7d75 HHH-17777 Add test for issue 2024-03-14 12:05:52 +01:00
marko-bekhta ed4910790e HHH-17823 Add FK to identifier in HQL parser 2024-03-14 12:00:00 +01:00
Gavin King e3076966c7 even more javadoc for Expectation 2024-03-13 23:07:34 +01:00
Gavin King 9deb3ea6ae improve package-level doc of org.hibernate.jdbc 2024-03-13 20:38:13 +01:00
Gavin King bf1c37b722 HHH-15587 some enhancements and cleanups to Expectations stuff 2024-03-13 20:38:13 +01:00
Gavin King d95084a59a HHH-17833 turn two more warnings into exceptions 2024-03-13 19:40:41 +01:00