Fast Object Database for Java - with JPA/JDO support

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.
#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)

Post Reply