ObjectDB ObjectDB

Unexpected query token 'delete' (SELECT is expected) (error 752)

#1

simple codes(see attachment), failed.

 

edit
delete
#2

DELETE queries should not be run with getSingleResult (which is for SELECT queries).

Use executeUpdate instead. See this manual page.

ObjectDB Support
edit
delete

Reply

To post on this website please sign in.