On Thu, Jan 18, 2018 at 9:22 AM, Abhra Kar <abhra.kar@gmail.com> wrote:I tried to modify like sess.createSQLQuery("select reset_all()")This part is correct .executeUpdate(); getting error -- org.postgresql.util.PSQLException: A result was returned when none was expected.You need execute the above the same way you would execute "SELECT * FROM tbl"; then just ignore the result set that is returned.David J.
I tried to modify like sess.createSQLQuery("select reset_all()")
I tried to modify like
sess.createSQLQuery("select reset_all()")
.executeUpdate(); getting error -- org.postgresql.util.PSQLException: A result was returned when none was expected.
.executeUpdate();
getting error -- org.postgresql.util.PSQLException: A result was returned when none was expected.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных