Gavin King
9ba93b7060
HHH-17613 - don't use reduce()
2024-02-20 10:46:24 +01:00
Cedomir Igaly
b17aa9674f
HHH-17613 - Adding recursion; avoiding regular expression
2024-02-20 10:37:01 +01:00
Cedomir Igaly
da41e5b4be
HHH-17613 - Fixing type import
2024-02-20 10:37:01 +01:00
Cedomir Igaly
f191d397c1
HHH-17613 - Test case demonstrating the problem
2024-02-20 10:37:01 +01:00
Gavin King
1c0121a94d
HHH-15519 document bitand(), bitor(), bitxor()
2024-02-20 09:11:44 +01:00
Gavin King
5fe2b75d2d
HHH-15519 make bitand(), bitor(), bitxor() portable
...
- add bitwise functions on SQL Server and Sybase
- add bitor(), bitxor() on Oracle
- add missing bitwise functions to HANA and h2
- fix broken bitxor() on Postgres
- add bitwise functions for EDB
2024-02-20 09:11:44 +01:00
Gavin King
399b1a0715
HHH-15519 start testing bitor() and xor() functions
2024-02-20 09:11:44 +01:00
Sanne Grinovero
af6edebb92
HHH-17754 Upgrade to Byte Buddy 1.14.12
2024-02-20 08:56:26 +01:00
Gavin King
9bb15727e4
HHH-16931 document getResultCount()
2024-02-19 22:56:18 +01:00
Gavin King
a562ab2462
HHH-16931 replace the previous impl of createCountQuery()
2024-02-19 22:56:18 +01:00
Gavin King
1180be0a0f
HHH-16931 add SelectionQuery.getResultCount()
2024-02-19 22:56:18 +01:00
Christian Beikov
7f14b2cbf8
HHH-16048 Handle integer division emulation also for TiDB
2024-02-19 14:38:04 +01:00
Christian Beikov
d7a46451ce
Make sure test.jdk.launcher.args is passed as jvm args to test launcher
2024-02-19 14:37:42 +01:00
LLEFEVRE
02c6531fcb
HHH-15756 Table Value Constructor (INSERT, FROM column aliasing at table alias, CTE)
2024-02-19 14:22:42 +01:00
Ken Schosinsky
3bda3adc4f
HHH-17742 Fix race condition in ConcreteSqmSelectQueryPlan
2024-02-19 14:15:50 +01:00
Ken Schosinsky
a3ca11a363
HHH-17742 Test for race condition in ConcreteSqmSelectQueryPlan
...
Race condition occurs when two or more concurrent reach the synchronized
block in ConcreteSqmSelectQueryPlan#withCacheableSqmInterpretation. The
latter ones will see the cacheableSqmInterpretation by the first one,
but don't check whether it is compatible
(jdbcSelect.dependsOnParameterBindings(), jdbcSelect.isCompatibleWith).
On MySQL this can cause "limit null,1" to be rendered if the first query
has both offset and limit, the latter ones only a limit.
2024-02-19 14:15:50 +01:00
Gavin King
27bf0b8523
make HqlInterpretation generic to eliminate warnings / unchecked casts
...
and delete a deprecated method of an @Incubating API
2024-02-19 12:49:14 +01:00
Gavin King
e4632107d7
improve error messages when association targets non-entity type
2024-02-19 12:40:54 +01:00
Marco Belladelli
34374c0c70
HHH-17727 Avoid name uses for subtypes when selecting discriminator only
2024-02-19 11:46:59 +01:00
Marco Belladelli
dfb56c2f36
HHH-17727 Add test for issue
2024-02-19 11:46:59 +01:00
LLEFEVRE
778e5b1214
HHH-15756 Table Value Constructor (INSERT, FROM column aliasing at table alias, CTE)
2024-02-19 11:32:31 +01:00
LLEFEVRE
7c400e10bb
HHH-15756 Table Value Constructor (INSERT, FROM column aliasing at table alias, CTE)
2024-02-19 11:32:31 +01:00
Gavin King
45a3ed9565
HHH-17748 update HQL doc
2024-02-18 23:28:56 +01:00
Gavin King
777dede7da
HHH-17748 accept abbreviated enum value names in HQL 'when' clause
2024-02-18 23:28:56 +01:00
Gavin King
bfda1c6142
fix typo in javadoc
2024-02-18 19:53:57 +01:00
Gavin King
2558f9843a
HHH-17746 update tests to use streamlined API
2024-02-17 12:42:09 +01:00
Gavin King
e732cddb09
HHH-17746 add typed setProperty() methods to Configuration
...
and fix handling of DEFAULT_NULL_ORDERING
2024-02-17 12:42:09 +01:00
Gavin King
3769d4c233
use requiresService() much more consistently
...
we should usually avoid the use of getService() unless
there is an explicit null test on the client side
2024-02-16 23:18:30 +01:00
Gavin King
f1e099b8e8
HHH-17745 @HQL methods accepting embeddables
...
and replace usages of getJavaType().getTypeName(), since
using getTypeName() directly is much more freindly to the
annotation processor (as well as less verbose)
2024-02-16 21:08:49 +01:00
Marco Belladelli
eb11676479
HHH-17096 Always initialize table group for subtype treated joins
2024-02-16 16:34:45 +01:00
Marco Belladelli
7eb8aac96d
HHH-17096 Add test for issue
2024-02-16 16:34:45 +01:00
Gavin King
50bbc803ba
HHH-16048 add 'hibernate.query.hql.portable_integer_division'
...
update doc
2024-02-16 16:23:35 +01:00
Gavin King
d7fe31643a
HHH-16048 add 'hibernate.query.hql.portable_integer_division'
...
consistent interpretation of division on MySQL and Oracle
2024-02-16 16:23:35 +01:00
qinxi
a97b7ba611
HHH-17717 Add semicolon(`;`) to HQL_SEPARATORS
2024-02-16 13:35:17 +01:00
Marco Belladelli
5309d9d63b
HHH-17508 Fix using union queries as CTE in criteria
2024-02-16 11:58:22 +01:00
Marco Belladelli
a0294c31fe
HHH-17508 Add test for issue
2024-02-16 11:58:22 +01:00
Marco Belladelli
8a8099c3fd
HHH-17701 Use relational java type when resolving mapping expressibles
2024-02-16 11:55:52 +01:00
Marco Belladelli
d5d9f5766f
HHH-17701 Add test for issue
2024-02-16 11:55:52 +01:00
Marco Belladelli
b91a7fe9fe
HHH-17695 Skip rendering null nested JSON aggregate embeddables
2024-02-16 10:47:27 +01:00
Marco Belladelli
734bd775bf
HHH-17695 Add test for issue
2024-02-16 10:47:27 +01:00
LLEFEVRE
464d3a82fd
HHH-15753 GROUP BY ALIAS support in 23c
2024-02-16 10:46:57 +01:00
Jan Schatteman
c8234fc493
HHH-12565 - Add some additional tests
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-02-15 13:40:15 +01:00
Gavin King
d61719acd5
minor clarification to docs on SQL array support
2024-02-14 20:35:40 +01:00
Gavin King
f111d1a1a1
try to report more info from annotation processor failure
2024-02-14 15:14:23 +01:00
Gavin King
8dd0ef5198
improve error messages coming from SqmPathRegistryImpl
...
and missing add javadoc to AliasCollisionException
2024-02-14 12:55:43 +01:00
Gavin King
e4a998cbe7
add a TODO
2024-02-14 12:55:43 +01:00
Gavin King
b4b4112f75
add a TIP about @OneToOne mappings
2024-02-14 12:05:17 +01:00
Gavin King
914227de93
HHH-16463 fix use of @PrimaryKeyJoinColumn with @MapsId
...
supporting this mapping is required by JPA
2024-02-14 11:34:55 +01:00
Gavin King
2c85e5d190
HHH-16522 add test for fixed bug
2024-02-14 01:12:38 +01:00
Gavin King
d57e09c7e6
add javadoc to Session regarding proxy objects
2024-02-13 17:30:02 +01:00