Commit Graph

11593 Commits

Author SHA1 Message Date
Marco Belladelli af747ad531 HHH-17803 Fix resolving enum basic path source mapping expressibles 2024-03-29 10:40:15 +01:00
Marco Belladelli 437a2e5cd3 HHH-17803 Add test for issue 2024-03-29 10:40:15 +01:00
Jan Schatteman edb1126d4d HHH-17493 - Merge WithJpaComplianceNegatedPredicateTest into NegatedPredicateTest (possible now after the merge of PR #7990)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-28 23:04:22 +01:00
Gavin King 3dc5896a08 handle inner enum literal in HQL
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 22:32:41 +01:00
Gavin King ce317960fc handle unqualified enum values in @Query
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 22:32:41 +01:00
Gavin King f0c9d4ec4c 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-03-28 22:32:41 +01:00
Christian Beikov fe4a3fbaf3 HHH-17906 Use insert target paths for type inference of SqmValues 2024-03-28 17:02:20 +01:00
Christian Beikov d423b52be3 HHH-17904 Introduce config property to enable native enum type 2024-03-28 17:02:20 +01:00
Christian Beikov 95641b2366 HHH-17884 Respect ordering guarantee of ORDINAL/STRING when using native enums 2024-03-28 17:02:20 +01:00
Christian Beikov 7e29539153 HHH-17493 Ensure case insensitivity is retained in negated copy 2024-03-28 16:44:39 +01:00
Jan Schatteman 6717c7cba0 HHH-17493 - add tests and fix
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-28 16:44:39 +01:00
Yanming Zhou 3c2374de5c HHH-12202 Introduce ParameterType.getReturnedJavaType() as companion of getReturnedClass() 2024-03-28 16:09:16 +01:00
Vincent Bouthinon 915c8b8ead 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:35 +01:00
Vincent Bouthinon fdd3ded888 HHH-17871 Error if defining a ManyToAny in the child classes which references a @MappedSuperclass 2024-03-28 16:07:35 +01: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
Steve Ebersole ddcfc54661 HHH-17429 - Complete implementation of HbmXmlTransformer (6.x)
HHH-16822 - Fail to marshall transformed content with HbmXmlTransformer
2024-03-28 07:12:20 -05:00
Gavin King 2955e0b91d spec-compliant inference of entity type in @Query
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-28 00:41:01 +01:00
Christian Beikov 603f7ff2d2 HHH-17897 Fix support for joining CTEs in HQL 2024-03-27 16:43:23 +01:00
Vladimír Kuruc 49f27dcd0e HHH-17862 Fix TemporaryTable identity column sqlTypeName error 2024-03-27 16:30:39 +01:00
Yanming Zhou 7fcbf3d433 Fix that `foreignKeyEnabled` is not copied 2024-03-27 14:15:20 +01:00
Vladimír Kuruc 9e8fe5ca07 HHH-14080 fix Dialect-Aware Rendering of Null Value Literals for InformixDialect 2024-03-27 13:33:30 +01:00
Christian Beikov 76ca5fb790 HHH-10619 Add test for JTA timeout handling 2024-03-27 13:26:09 +01:00
Davide D'Alto 12b3afced0 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:34:57 +01:00
Davide D'Alto 6dc7f8328a HHH-17876 Minor: remove empty else block 2024-03-27 10:34:57 +01:00
Davide D'Alto 8c4ac57443 HHH-17876 Minor syntax fix in comment 2024-03-27 10:34:57 +01:00
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