ObjectDB ObjectDB

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

#1

simple codes(see attachment), failed.

 

=========================================================================
There's never been infinity. Cantor's diagonal proof is completely wrong.
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
ObjectDB - Fast Object Database for Java (JPA/JDO)
edit
delete

Reply

To post on this website please sign in.