Commit Graph

11570 Commits

Author SHA1 Message Date
Davide D'Alto 1aa701d435 HHH-17876 Changes for Hibernate Reactive 2.3
Change the scope of some methods and add some getters, so that
subclasses in Hibernate Reactive can reuse some of the existing code.
2024-03-27 10:35:44 +01:00
Davide D'Alto 3cf9999ccf HHH-17876 Minor: remove empty else block 2024-03-27 10:35:44 +01:00
Davide D'Alto 80e54a5937 HHH-17876 Minor syntax fix in comment 2024-03-27 10:35:44 +01:00
Marco Belladelli 7e7113cc45 HHH-17867 Add test for issue 2024-03-25 18:14:11 +01:00
Marco Belladelli ddb2324736 HHH-17878 `Configurable` generators and `@IdGeneratorType` 2024-03-25 18:06:38 +01:00
Gavin King be9466ede4 fix a couple of warnings 2024-03-25 18:06:05 +01:00
Gavin King f70c197b14 fix an ancient error message 2024-03-25 18:05:41 +01:00
Gavin King 50af2eef15 introduce @Suppress annotation to disable processor 2024-03-25 18:03:52 +01:00
Gavin King 65911ae995 extract a method 2024-03-25 18:01:32 +01:00
Gavin King 75cbae9a7c HHH-17874 deprecate @GenericGenerator 2024-03-25 18:00:54 +01:00
Gavin King 77c3744895 use a static final since we have it sitting there 2024-03-25 18:00:42 +01:00
Marco Belladelli c1b08194db HHH-17472 Move `allowAssignedIdentifiers()` up to `Generator` interface
Also test with `@IdGeneratorType`
2024-03-25 18:00:04 +01:00
marko-bekhta dd53ccf542 HHH-17779 Add UnsupportedOperationException throwing impl of getKeyedResultList to the AbstractQuery 2024-03-25 17:58:49 +01:00
Christian Beikov a5bfed34b4 HHH-17801 Resolve enum basic types to avoid type validation issues 2024-03-25 17:29:36 +01:00
marko-bekhta 5d3ad275cd HHH-17872 Make sure that JdbcServicesImpl does not return a null SqlExceptionHelper 2024-03-25 17:22:07 +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