Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 3 weeks ago
FreeformQuery delete ?
Hi,
I am trying to implement a delete query using Freeform... But getting failed a lot.
My query is
delete from PERSON where id='23';
And I had implemented like dis,
String clearSQL = "DELETE FROM PERSON WHERE ID='552'";
FreeformQuery clearSQLQuery = new FreeformQuery(clearBookingSQL,
connectionPool, "ID");
And within a button click event,]
clearSQLQuery.beginTransaction();
clearSQLQuery.commit();
Not sure whether the method am using is right...pls provide me a suggestion.
Thank you,
Last updated on
You cannot reply to this thread.