Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No results were returned by the query #3

Open
Gatharikih opened this issue May 24, 2023 · 1 comment
Open

No results were returned by the query #3

Gatharikih opened this issue May 24, 2023 · 1 comment
Assignees

Comments

@Gatharikih
Copy link

Gatharikih commented May 24, 2023

When I perform an operation to delete a row and then update another table I am getting the following exception.

java.lang.RuntimeException: jodd.db.DbSqlException: Query execution failed
Query: ; <--- org.postgresql.util.PSQLException: No results were returned by the query.

Caused by: org.postgresql.util.PSQLException: No results were returned by the query.
at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:245)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport$StatementProxy.invoke(AbstractQueryReport.java:215)
at jdk.proxy2/jdk.proxy2.$Proxy68.executeQuery(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:118)
at jdk.proxy2/jdk.proxy2.$Proxy68.executeQuery(Unknown Source)
at jodd.db.DbQueryBase.execute(DbQueryBase.java:690)

@igr igr self-assigned this May 30, 2023
@igr
Copy link
Member

igr commented May 30, 2023

This seems like something other than Jodd issue. You are probably fetching something that does not exist or so. The issue seems to be with the query.

Could you write here some code, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants