-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
area/dev-uiarea/hibernate-ormHibernate ORMHibernate ORMkind/bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
See: #46728
The DevUI HQL console is not working in latest version of quarkus (3.22.1)
It just display this error :
Error executing query: Unable to encode results as JSON. Note circular associations are not supported at the moment, use @JsonIgnore to break circles.
Expected behavior
HQL Console should work with such a basic entity :
@Entity
public class MyEntity extends PanacheEntity {
public String field;
}
Actual behavior
HQL Console displays an error.
The error message is misleading (there are no cicular associations here).
How to Reproduce?
To reproduce the problem:
- Go to https://code.quarkus.io/
- Generate a new project using the 'REST service with database' preset
- Add this in import.sql :
insert into myentity (id, field) values(1, 'field-1');
- Start the app and go the the HQL console -> You will see the error displayed :
Output of uname -a
or ver
No response
Output of java -version
21.0.3
Quarkus version or git rev
3.22.1
Build tool (ie. output of mvnw --version
or gradlew --version
)
maven 3.9.9
Additional information
No response
melloware
Metadata
Metadata
Assignees
Labels
area/dev-uiarea/hibernate-ormHibernate ORMHibernate ORMkind/bugSomething isn't workingSomething isn't working