Alexander Schwartz
143a3bc7ac
Revert "Create workaround for "UnsupportedOperationException: compare() not implemented for EntityType""
...
With the update Hibernate 6.2.0.Final this is no longer needed.
Closes #19321
This reverts commit 71bcb409c4f6a1251ce18f32cfd68e4ae528abb3.
2023-04-27 13:36:54 +02:00
Alexander Schwartz
02b0683053
Revert "Workaround to avoid replacing element collections"
...
With the update Hibernate 6.2.0.Final this is no longer needed.
Closes #19162
This reverts commit 93e32f3191a1ddc3498000244b35b3c14fe6880e and e369f7c212b3d9ee4810518f5a2bfe9b846ba15d.
2023-04-27 13:36:54 +02:00
Alexander Schwartz
c7749dc5dd
Upgrading to latest Hibernate release
...
---
Quarkus3 branch sync no. 14 (24.4.2023)
Resolved conflicts:
keycloak/pom.xml - Modified
2023-04-27 13:36:54 +02:00
vramik
d962dec954
Remove workaround for Lazy initialization of Realm's collections
...
Closes #19069
2023-04-27 13:36:54 +02:00
Peter Zaoral
a020d3f6df
Quarkus3 branch sync no. 12
...
31.3.2023:
* renamed imports from javax to jakarta as a part of the migration from JavaEE to JakartaEE
Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
2023-04-27 13:36:54 +02:00
Alexander Schwartz
b508b18391
Removing workaround for H6 as this is now fixed
...
This reverts commit c74b832995759d4c9f330a4ba1767d01f9e3c174.
Closes #16551
2023-04-27 13:36:54 +02:00
Alexander Schwartz
e00af7e172
Fix problem when Hibernate on MySQL is confused to read back Enums from VARCHARs
...
It treated the single byte String with its ASCII values, which then didn't find a representation in the enum's values, which lead to a "ArrayIndexOutOfBoundsException: Index 48" for a value "0" (ASCII 48).
This behavior changed when migrating from Hibernate 5 to Hibernate 6.
Hibernate expects a TinyInt value for all Enums by default, and this annotation overrides it.
2023-04-27 13:36:54 +02:00
Alexander Schwartz
b7d5b6a135
Fix problem when Hibernate exception is hidden when executing "ClientScopeTest".
...
This behavior changed when upgrading to Hibernate 6
2023-04-27 13:36:54 +02:00
Alexander Schwartz
16d4c732e0
Fix problem with "InterpretationException: Error interpreting query / this may indicate a semantic (user query) problem or a bug in the parser"
...
This behavior changed when upgrading from Hibernate 6.2.0.CR3 to 6.2.0.CR4
2023-04-27 13:36:54 +02:00
Alexander Schwartz
c3c728230d
Fix problem with "Unable to create message factory for SOAP: Unable to create SAAJ meta-factory: Provider com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl not found" when running SAML.
2023-04-27 13:36:54 +02:00
Alexander Schwartz
b68a5be38d
Workaround to avoid replacing element collections
...
Relates to #19162
2023-04-27 13:36:54 +02:00
Alexander Schwartz
2762e17dc0
Create proper one-to-many in RealmLocalizationTextsEntity
...
This avoids Hibernate 6.2.0.CR4 to fail with 'BasicValue cannot be cast to class ToOne'.
It used to work on Hibernate 6.2.0.CR3.
2023-04-27 13:36:54 +02:00
Alexander Schwartz
7a5e265e92
Update to Quarkus 3.0.0.Beta1
...
---
Quarkus3 branch sync no. 14 (24.4.2023)
Resolved conflicts:
keycloak/pom.xml - Modified
2023-04-27 13:36:54 +02:00
Alexander Schwartz
ad82252a44
Create workaround for "identifier of an instance altered"
...
Related to: #19323
2023-04-27 13:36:54 +02:00
Alexander Schwartz
adb47ac874
Create workaround for "UnsupportedOperationException: compare() not implemented for EntityType"
...
Related to: #19321
2023-04-27 13:36:54 +02:00
Martin Bartoš
fb855538fa
Additional settings for JTA TX and Quarkus
2023-04-27 13:36:54 +02:00
Martin Bartoš
9719e1d210
Handle DB exceptions for JTA TX
2023-04-27 13:36:54 +02:00
Martin Bartoš
7af2459c7d
Run CI with Quarkus
...
This reverts commit 2f3fe2b237128c25989293e19f2c09edd0350caa.
2023-04-27 13:36:54 +02:00
Martin Bartoš
5b7e9a2603
Remove WF dependencies, add Jakarta SOAP, fix tests
...
---
Quarkus3 branch sync no. 13 (11.4.2023)
Resolved conflicts:
IdeaProjects/keycloak/quarkus/pom.xml - Modified
IdeaProjects/keycloak/quarkus/runtime/pom.xml - Modified
2023-04-27 13:36:54 +02:00
Alexander Schwartz
5252992384
Workaround to avoid replacing element collections
...
Relates to #19162
2023-04-27 13:36:54 +02:00
Alexander Schwartz
28975b950d
Workaround for lazy loaded collections for RealmEntity
...
---
Quarkus3 branch sync no. 13 (11.4.2023)
Resolved conflicts:
keycloak/model/jpa/src/main/java/org/keycloak/models/jpa/JpaRealmProvider.java - Modified
2023-04-27 13:36:54 +02:00
Martin Bartoš
9796e69d8d
Change default transaction type to JTA
2023-04-27 13:36:54 +02:00
Martin Bartoš
8584174099
Change default DB dialects
2023-04-27 13:36:54 +02:00
Martin Bartoš
8fb7fb0de9
Integrate Quarkus 3.0.0.Alpha6
...
---
Quarkus3 branch sync no. 14 (24.4.2023)
Resolved conflicts:
keycloak/pom.xml - Modified
2023-04-27 13:36:54 +02:00
Peter Zaoral
181c8a5340
Quarkus3 branch sync no. 11
...
24.3.2023:
* renamed imports from javax to jakarta as a part of the migration from JavaEE to JakartaEE
* fixed the metadata field's Type annotation
Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
2023-04-27 13:36:54 +02:00
Martin Bartoš
bc43e4f435
Integrate Jakarta Mail API 2.1.0
2023-04-27 13:36:54 +02:00
vramik
acebf4616e
Remove JsonbPostgreSQL95Dialect
from quarkus.
...
Closes #16549
2023-04-27 13:36:54 +02:00
Martin Bartoš
de663dbf93
Quarkus3 branch sync no. 9
...
10.3.2023:
* renamed imports from javax to jakarta as a part of the migration from JavaEE to JakartaEE
* changed version from 999-SNAPSHOT to 999.0.0-SNAPSHOT
2023-04-27 13:36:54 +02:00
Martin Bartoš
952faed4c9
Run Adapter tests with JavaEE support
...
---
Quarkus3 branch sync no. 9 (10.3.2023)
Resolved conflicts:
keycloak/.github/actions/build-keycloak/action.yml - Modified
2023-04-27 13:36:54 +02:00
Peter Zaoral
0b4f40f89b
Quarkus3 branch sync no. 8
...
3.3.2023:
* renamed imports from javax to jakarta as a part of the migration from JavaEE to JakartaEE
Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
2023-04-27 13:36:54 +02:00
Martin Bartoš
a895cc1a60
Fix Quarkus IT tests for Quarkus 3
2023-04-27 13:36:54 +02:00
vramik
ae56c657b0
JpaMapStorageProviderFactory should use AvailableSettings.JAKARTA... properties
...
Closes #17077
2023-04-27 13:36:54 +02:00
Peter Zaoral
c2d1cade8d
Quarkus3 branch sync no. 7
...
27.2.2023:
* renamed imports from javax to jakarta as a part of the migration from JavaEE to JakartaEE
Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
2023-04-27 13:36:54 +02:00
Martin Bartoš
abf765185d
Fix WebAuthn tests
2023-04-27 13:36:54 +02:00
Martin Bartoš
64738ea708
Fix issues with JakartaEE Mail dependencies
...
This reverts commit da4644844ed88818c05d777460624403326ab01c
---
Quarkus3 branch sync no. 12 (31.3.2023)
Resolved conflicts:
keycloak/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/sessionlimits/UserSessionLimitsTest.java - Modified
2023-04-27 13:36:54 +02:00
Peter Zaoral
5ebe4ca7c8
Quarkus3 branch sync no. 6
...
17.2.2023:
* renamed imports from javax to jakarta as a part of the migration from JavaEE to JakartaEE
Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
2023-04-27 13:36:54 +02:00
Peter Zaoral
946eacd5b6
Quarkus3 branch sync no. 5
...
10.2.2023:
* renamed imports from javax to jakarta as a part of the migration from JavaEE to JakartaEE
* fixed Undertow server not starting due to ClassNotFoundException: javax.transaction.TransactionManager
Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
2023-04-27 13:36:54 +02:00
Stefan Guilhen
5e0182ac24
Adds com.sun.xml.ws.rt dependency to saml-core-api
...
Closes #16743
2023-04-27 13:36:54 +02:00
Martin Bartoš
2cb7c9f5ec
Fix account console tests
2023-04-27 13:36:54 +02:00
vramik
f18f356a0b
Update attribute name in HttpRequestImpl
to jakarta.
...
Closes #16721
2023-04-27 13:36:54 +02:00
Stefan Guilhen
3409a0c840
Fixes SAML tests in testsuite
...
- adds dependency to saaj-impl in saml core public
- updates test apps' web.xml files to use jakarta namespaces
- small cleanup in main pom
- changes order of e-mail servers in testsuite pom to enforce usage of greenmail (changes order in Undertow's classpath)
Closes #16711
2023-04-27 13:36:54 +02:00
vramik
7b51d8617d
Remove one side of association which is not used.
...
Closes #16693
2023-04-27 13:36:54 +02:00
Alexander Schwartz
434cc7c711
Fix errors pointed out by Hibernate 6 in the queries
...
Closes #16337
2023-04-27 13:36:54 +02:00
Alexander Schwartz
4bdf2fe21d
Fixing parameter which should be a string plus dependencies
...
Closes #16649
2023-04-27 13:36:54 +02:00
Peter Zaoral
028c3dd26e
uarkus3 branch sync no. 13 (11.4.2023)
...
Resolved conflicts:
keycloak/testsuite/model/src/test/java/org/keycloak/testsuite/model/transaction/StorageTransactionTest.java - Modified
---
27.1.2023:
* renamed imports from javax to jakarta as a part of the migration from JavaEE to JakartaEE
Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
2023-04-27 13:36:54 +02:00
Alexander Schwartz
80f7452950
Results of AttributeConverters are mutable; workaround a regression in H6
...
Relates to #16551
2023-04-27 13:36:54 +02:00
vramik
fa3ba6331e
Remove JsonbPostgreSQL95Dialect from keycloak-server.json from testsuite utils
...
Fixes #16336
2023-04-27 13:36:54 +02:00
Martin Bartoš
b1da7bd613
Revert Mail API
...
---
Quarkus3 branch sync no. 13 (11.4.2023)
Resolved conflicts:
keycloak/quarkus/pom.xml - Modified
---
Quarkus3 branch sync no. 12 (31.3.2023)
Resolved conflicts:
keycloak/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/sessionlimits/UserSessionLimitsTest.java - Modified
2023-04-27 13:36:54 +02:00
Martin Bartoš
1f126647fe
Update dependencies
2023-04-27 13:36:54 +02:00
Martin Bartoš
81eaa09b25
Run tests with Undertow
...
---
Quarkus3 branch sync no. 6 (17.2.2023)
Resolved conflicts:
keycloak/.github/workflows/ci.yml - Modified
---
Quarkus3 branch sync no. 5 (10.2.2023)
Resolved conflicts:
keycloak/.github/workflows/ci.yml - Modified
2023-04-27 13:36:54 +02:00