Fixed
Details
Assignee
Čedomir IgalyČedomir IgalyReporter
Čedomir IgalyČedomir IgalyFix versions
Affects versions
Priority
Major
Details
Details
Assignee
Čedomir Igaly
Čedomir IgalyReporter
Čedomir Igaly
Čedomir IgalyFix versions
Affects versions
Priority
Created May 13, 2024 at 5:33 PM
Updated June 14, 2024 at 3:08 PM
Resolved May 22, 2024 at 4:42 PM
Java constant in named query are not recognized as valid during meta model generation. If @CheckHQL annotation is present,, processing will result in error. Otherwise, warning will be issued.
Reason for this problem is in method
org.hibernate.query.hql.internal.BasicDotIdentifierConsumer.BaseLocalSequencePart#resolvePathPart
Here class loader still does not have all classes loaded and will return null and throw SemanticException.
Test case for this issue is not simple to create because existing CompilationTest is inheriting classpath .
Minimal example to reproduce this problem is created on github