Commit Graph

11587 Commits

Author SHA1 Message Date
Gavin King 39f09aecae handle inner enum literal in HQL
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:36:28 +02:00
Gavin King 6de223572e handle unqualified enum values in @Query
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:36:23 +02:00
Gavin King 8caa7096fb make fully-qualified enum literals in @Query pass the validation
JD examples and TCK require this, though it's not really correct

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-02 16:36:18 +02:00
Marco Belladelli 0e9da568c8 HHH-17835 Custom ConvertedPrimitiveBasicTypeImpl type resolution 2024-04-02 12:33:30 +02:00
Marco Belladelli 76d4768d26 HHH-17835 Add test for issue 2024-04-02 12:33:27 +02:00
Marco Belladelli a79ebfec97 HHH-17803 Fix resolving enum basic path source mapping expressibles 2024-03-29 10:39:18 +01:00
Marco Belladelli dc18d92702 HHH-17803 Add test for issue 2024-03-29 10:39:13 +01:00
Christian Beikov f698c6e2e4 HHH-17493 Ensure case insensitivity is retained in negated copy 2024-03-28 16:45:55 +01:00
Jan Schatteman 9527cbaa4a HHH-17493 - add tests and fix
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-28 16:45:55 +01:00
Yanming Zhou fa2e8f73e7 HHH-12202 Introduce ParameterType.getReturnedJavaType() as companion of getReturnedClass() 2024-03-28 16:09:33 +01:00
Vincent Bouthinon 5c2fb290f5 HHH-17871 Error if defining a ManyToAny in the child classes which references a @MappedSuperclass
Rename column "ROLE" to "ROLE_COL" for a problem with sybase
2024-03-28 16:07:56 +01:00
Vincent Bouthinon 82f45fc741 HHH-17871 Error if defining a ManyToAny in the child classes which references a @MappedSuperclass 2024-03-28 16:07:56 +01:00
Gavin King b2ec831e81 spec-compliant inference of entity type in @Query
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 10:03:27 +01:00
Christian Beikov c5520590d4 HHH-17897 Fix support for joining CTEs in HQL 2024-03-27 16:42:23 +01:00
Vladimír Kuruc 18c1c5a81f HHH-17862 Fix TemporaryTable identity column sqlTypeName error 2024-03-27 16:31:51 +01:00
Yanming Zhou 8d73b5892e Fix that `foreignKeyEnabled` is not copied 2024-03-27 14:16:03 +01:00
Vladimír Kuruc bf83673a57 HHH-14080 fix Dialect-Aware Rendering of Null Value Literals for InformixDialect 2024-03-27 13:34:31 +01:00
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