Skip to content
Open
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
3c203fb
- Added class name check to remove warning that pckage cannot be inde…
Aryant-Tripathi Oct 25, 2025
b833f13
Fix package info index warning in hibernate orm processor
Aryant-Tripathi Oct 28, 2025
fd68642
Added class name check to remove warning that package cannot be index…
Aryant-Tripathi Oct 29, 2025
2fe0271
Qute generator: fix multiple namespace extension methods
mkouba Oct 21, 2025
f2f0fb5
Bump io.quarkus.gizmo:gizmo2 from 2.0.0.Beta6 to 2.0.0.Beta8
dependabot[bot] Oct 22, 2025
e83711e
Bypass filters looking for a test class in the application module
aloubyansky Oct 21, 2025
f61a352
Bump com.google.errorprone:error_prone_annotations from 2.42.0 to 2.43.0
dependabot[bot] Oct 22, 2025
d0925a7
fix(ws-next): validate base URI scheme
michalvavrik Oct 23, 2025
06ab0bb
ArC: fix subclass generation with not visible decorators
jonasrutishauser Oct 7, 2025
3023296
ArC: add comments about decorators being interface-based
Ladicek Oct 17, 2025
0040b6f
Reduce footprint of wiring classes generated by Gizmo 2
gsmet Oct 23, 2025
91756cd
Intercept dev mode test instance for HTTP resource injection
MikeEdgar Oct 20, 2025
25201f3
Ensure that FJP threads can load resources in tests
geoand Oct 20, 2025
c7b878e
Add comment about ForkJoinClassLoading#setForkJoinClassLoader
geoand Oct 20, 2025
573a771
Hibernate HQL console: fix combo box for reactive/orm PUs with the sa…
mbellade Oct 22, 2025
795141c
Jandex: upgrade to 3.5.1
Ladicek Oct 23, 2025
3569463
Bump flyway.version from 11.14.1 to 11.15.0
dependabot[bot] Oct 23, 2025
a504778
Dev UI Agroal: add support for json cols
phillip-kruger Oct 24, 2025
0d3395e
Reapply "Contain the use of reflection in amazon-lambda"
zakkak Aug 19, 2025
9eb8296
Fix Amazon Lambda handler discovery fallback
zakkak Aug 19, 2025
3e8012c
fix(test-security): Fix class-level @TestSecurity with method-level @…
michalvavrik Oct 23, 2025
cf20244
Bump io.strimzi:strimzi-test-container from 0.112.0 to 0.113.0
dependabot[bot] Oct 23, 2025
55b3d5b
Add *.preferred_jdbc_type for instant, duration, boolean, UUID
NickBeginner Oct 7, 2025
4acd473
OTel instrumentation 2.15.0-alpha, opentelemetry-semconv.version 1.32…
brunobat Sep 23, 2025
b0fdb6a
Add 3.27 as a guarded branch
gsmet Oct 24, 2025
788b4ba
Update link and improve link text for WireMock
rolfedh Oct 23, 2025
cd13282
Dev UI: Remove global key press that cause issues
phillip-kruger Oct 24, 2025
6670cfd
Bump org.quartz-scheduler:quartz from 2.5.0 to 2.5.1
dependabot[bot] Oct 24, 2025
74f3ad8
Fix typo in error message for shutdownContext
GregJohnStewart Oct 24, 2025
2656170
Make sure local quarkus-versions preferences are effective when the d…
aloubyansky Oct 24, 2025
7be850c
Better validation funq function signature
matejvasek Oct 22, 2025
202b4c3
Bump actions/upload-artifact from 4 to 5
dependabot[bot] Oct 26, 2025
194edb6
Bump actions/download-artifact from 5 to 6
dependabot[bot] Oct 26, 2025
7de7920
Make sure dev ui workspace don't prevent dev mode from starting up
phillip-kruger Oct 26, 2025
c3b4d8d
Add LGTM Observability codestart
alesj Oct 7, 2025
d87beba
Fix Liquibase `runCommand` in native mode
geoand Oct 27, 2025
2906258
feat(oidc-token-propagation): add propagation for REST cl. methods
michalvavrik Oct 25, 2025
0d2843b
Enhance CSRF prevention documentation
GregJohnStewart Oct 27, 2025
2e7f396
Update docs/src/main/asciidoc/security-csrf-prevention.adoc
GregJohnStewart Oct 27, 2025
999771b
updates from review
GregJohnStewart Oct 27, 2025
672df7f
Record runtime configuration in its own ConfigSource
radcortez Oct 27, 2025
058b7fe
Bump to Mutiny 3.0.1
jponge Oct 27, 2025
65f407f
Bump the hibernate group with 8 updates
dependabot[bot] Oct 27, 2025
17564d8
Mask some HTTP headers in the HTTP access log
sberyozkin Oct 21, 2025
b1f2272
Disable warnings about unsafe usage of Unsafe in native
zakkak Oct 23, 2025
a8a4190
Improve the code in security-oidc-bearer-token-authentication.adoc to…
jcarranzan Oct 24, 2025
ce05361
Avoid string creation
holly-cummins Oct 28, 2025
234c81f
Bump to Vert.x 4.5.22
jponge Oct 28, 2025
e3e0b8d
Fix the Vert.x Redis client native compilation
jponge Oct 28, 2025
131d7bc
Cover all Random static fields from vertx-redis-client in substitutions
jponge Oct 28, 2025
e9d1e56
Bump org.hibernate.tool:hibernate-tools-language in the hibernate group
dependabot[bot] Oct 28, 2025
41e309e
Add test to command quickstart
holly-cummins Oct 24, 2025
b2acb6c
feat(ws-next): support OTel @SpanAttribute on endpoint callbacks
michalvavrik Oct 29, 2025
2f9f1e5
Pass on container build arguments to Maven projects as arguments
galderz Oct 10, 2025
ccb8867
Fix Amazon Lambda handler method resolution
gsmet Oct 23, 2025
bf78cb7
Use an approach based on Jandex, as much as possible
gsmet Oct 24, 2025
fd62eaf
Reduce reflection requirements and simplify handling handlers
gsmet Oct 27, 2025
5ac20db
feat(oidc-client-filter-reactive): make default client filter singleton
michalvavrik Oct 29, 2025
44c590d
Redis Client: add sentinel topology cache TTL configuration
Ladicek Oct 29, 2025
bb1cfa0
Redis Client: deprecate hash-slot-cache-ttl and add topology-cache-ttl
Ladicek Oct 29, 2025
b931128
Only add quotes to channel name if required
radcortez Oct 29, 2025
85f36b9
Add a tiny bit of javadoc
holly-cummins Oct 29, 2025
cf9b1bf
Bump org.apache.maven.plugins:maven-plugin-plugin from 3.15.1 to 3.15.2
dependabot[bot] Oct 29, 2025
ba27383
Add more information when class loader issue in tests
gsmet Oct 29, 2025
86ea3f3
Change default password hashing algorithm to SHA-512
jcjveraa Oct 29, 2025
3955d11
Fix OCP build and deploy command
rsvoboda Oct 30, 2025
06261a5
Improve Docker and Podman CLI detection and error messages
gsmet Oct 29, 2025
29b5b02
Update to slf4j-jboss-logmanager 2.0.2.Final
gsmet Oct 30, 2025
ea75990
ArC: introduce Arc.requireContainer()
mkouba Oct 29, 2025
d7197db
ArC: replace Arc.container() with Arc.requireContainer()
mkouba Oct 30, 2025
ebd7bbf
Registry client option to set a low boundary for recommended streams on
aloubyansky Oct 28, 2025
a57e9c8
Use Path.resolve to check for unknown configuration files
radcortez Oct 30, 2025
f041f7c
Avoid always displaying a warning about Java version
gsmet Oct 28, 2025
9bd29fb
Propagate Java runtime version from project creation to function
gsmet Oct 28, 2025
1a7f60a
Fix typo in error message
gsmet Oct 29, 2025
8fce8ae
Make Azure messages at deployment a lot more readable
gsmet Oct 29, 2025
720f194
Azure Functions documentation improvements
gsmet Oct 30, 2025
edd7a8f
Filter for client imports on class level only when discovering Endpoi…
sd-f Oct 28, 2025
b8454af
Update to the Quarkus Spring Data api 3.5 release
aureamunoz Oct 31, 2025
59bc814
Added class name check to remove warning that package cannot be index…
Aryant-Tripathi Nov 5, 2025
fd70b63
Merge branch 'main' into 50572/fix-package-info-index-warning-in-hibe…
Aryant-Tripathi Nov 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ public BytecodeRecorderConstantDefinitionBuildItem pregenProxies(
LiveReloadBuildItem liveReloadBuildItem,
ExecutorService buildExecutor) throws ExecutionException, InterruptedException {
Set<String> managedClassAndPackageNames = new HashSet<>(jpaModel.getEntityClassNames());
Set<String> managedClassesName = new HashSet<>(jpaModel.getEntityClassNames());
for (PersistenceUnitDescriptorBuildItem pud : persistenceUnitDescriptorBuildItems) {
// Note: getManagedClassNames() can also return *package* names
// See the source code of Hibernate ORM for proof:
Expand All @@ -483,7 +484,7 @@ public BytecodeRecorderConstantDefinitionBuildItem pregenProxies(
managedClassAndPackageNames.add(additionalJpaModelBuildItem.getClassName());
}

PreGeneratedProxies proxyDefinitions = generateProxies(managedClassAndPackageNames,
PreGeneratedProxies proxyDefinitions = generateProxies(managedClassAndPackageNames, managedClassesName,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to add the additionalJpaModelBuildItems class-names as well, otherwise we'll fail to generate proxies for any entity class contained there.

indexBuildItem.getIndex(), transformedClassesBuildItem,
generatedClassBuildItemBuildProducer, liveReloadBuildItem, buildExecutor);

Expand Down Expand Up @@ -1229,6 +1230,12 @@ public static Map<String, JpaPersistenceUnitModel> getModelPerPersistenceUnit(Hi
Set<String> modelClassesWithPersistenceUnitAnnotations = new TreeSet<>();

for (String modelClassName : jpaModel.getAllModelClassNames()) {

if(!jpaModel.getEntityClassNames().contains(modelClassName)) {
// We only care about class name here
continue;
}

Comment on lines 1245 to 1248
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is correct, as you can see within this for loop we add the modelClassName to the model.allModelClassAndPackageNames() on line 1257 even if it's not an entity.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, unfortunately this patch is too simple and would cause trouble down the way.

Really, you can't use existing information in jpaModel, you need to create a separate Set @Aryant-Tripathi.

See the explanation I gave in this comment: #50572 (comment)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry but this is still not enough. I added a comment further up in this file, hopefully this will clear things up...

If you think my comment does not make sense, please say so, so we can discuss that. don't just ignore it :)

ClassInfo modelClassInfo = index.getClassByName(DotName.createSimple(modelClassName));
Set<String> relatedModelClassNames = getRelatedModelClassNames(index, jpaModel.getAllModelClassNames(),
modelClassInfo);
Expand Down Expand Up @@ -1433,7 +1440,7 @@ private static MultiTenancyStrategy getMultiTenancyStrategy(Optional<String> mul
return multiTenancyStrategy;
}

private PreGeneratedProxies generateProxies(Set<String> managedClassAndPackageNames, IndexView combinedIndex,
private PreGeneratedProxies generateProxies(Set<String> managedClassAndPackageNames, Set<String> managedClassesName, IndexView combinedIndex,
TransformedClassesBuildItem transformedClassesBuildItem,
BuildProducer<GeneratedClassBuildItem> generatedClassBuildItemBuildProducer,
LiveReloadBuildItem liveReloadBuildItem,
Expand Down Expand Up @@ -1466,6 +1473,12 @@ private PreGeneratedProxies generateProxies(Set<String> managedClassAndPackageNa
CachedProxy proxy = proxyCache.cache.get(managedClassOrPackageName);
generatedProxyQueue.add(CompletableFuture.completedFuture(proxy));
} else {

if(!managedClassesName.contains(managedClassOrPackageName)) {
// we don't generate proxies for packages
continue;
}

if (!proxyHelper.isProxiable(combinedIndex.getClassByName(managedClassOrPackageName))) {
// we need to make sure we have a class and not a package and that it is proxiable
continue;
Expand Down