Andrea Boriero
189de9dab7
HHH-17887 Add test for issue
2024-04-09 07:46:52 +02:00
Gavin King
3fb0f83990
fix previous-page navigation with KeyedResultList
...
It was returning the results in reverse order.
This caused a failure in the Data TCK.
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-08 22:37:06 +02:00
Andrea Boriero
b5e78cf9d0
HHH-17826 ResultSet closed while scrolling results
2024-04-08 16:26:57 +02:00
Andrea Boriero
bd740f2dbf
HHH-17826 Add test for issue
2024-04-08 16:26:57 +02:00
Marco Belladelli
aa7575aabd
HHH-17857 Use `fromNameExact` when determining actual table group
2024-04-08 16:17:19 +02:00
Marco Belladelli
5c51ff93c6
HHH-17857 Add test for issue
2024-04-08 16:17:19 +02:00
Christian Beikov
bcae77fb32
HHH-17885 Fix for same named attribute of different Embedded uses same selection expression
2024-04-04 09:24:22 +02:00
Christian Beikov
1fe26bc7f4
HHH-17885 Test for same named attribute of different Embedded uses same selection expression
2024-04-04 09:24:22 +02:00
Andrea Boriero
d18d925e10
HHH-17881 Unable to use a proxy as parameter in Query when the FK does not target the PK
2024-04-03 13:58:08 +02:00
Andrea Boriero
8c8e52eae9
HHH-17881 Add test for issue
2024-04-03 13:58:08 +02:00
Andrea Boriero
c6a9278599
HHH-16672 Locking entities created in the same transaction fails
2024-04-03 13:56:18 +02:00
Daniel Mensinger
ca2ae23f78
HHH-16672 test case
2024-04-03 13:56:18 +02:00
Marco Belladelli
cf4af826fe
HHH-17828 Special case for uninitialized enhanced proxies when locking
2024-04-03 09:54:21 +02:00
Daniel Mensinger
47d8bea6a4
HHH-17828 Add test for issue
2024-04-03 09:54:21 +02:00
Christian Beikov
b567483f9f
HHH-17908 Allow varchar for STRING enums on MySQL in schema validation
2024-04-02 16:43:30 +02:00
Christian Beikov
dba8a54692
HHH-17898 Throw error if non-lateral from-clause subquery uses outer from node
2024-04-02 16:41:59 +02:00
Marco Belladelli
37714a6b1a
HHH-17835 Custom ConvertedPrimitiveBasicTypeImpl type resolution
2024-04-02 12:48:17 +02:00
Marco Belladelli
50acce43c3
HHH-17835 Add test for issue
2024-04-02 12:48:17 +02:00
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
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
Gavin King
2f746f8004
cleanups (mostly formatting) around EntityBinder + friends
2024-03-13 19:40:41 +01:00
Gavin King
31b075a274
reallow @Table on single table subclass
...
as long as the table names agree
needed for the JPA TCK
2024-03-13 18:28:25 +01:00
Marco Belladelli
f6fed506fc
HHH-17711 Fix table reference join resolution for joined subtype
2024-03-13 09:59:05 -05:00
Marco Belladelli
83e844c1e8
HHH-17711 Add test for issue
2024-03-13 09:59:05 -05:00
Gavin King
2b8f363e7b
HHH-15587 replace use of enums for specifying Expectations
...
use of class objects is simpler, more elegant, and more flexible
2024-03-13 12:49:49 +01:00
Gavin King
2451268f16
HHH-17773 more Javadoc for new pagination APIs
2024-03-12 23:43:45 +01:00
Gavin King
276a93e95e
HHH-17773 review and improve API of Order class
2024-03-12 23:43:45 +01:00