sql update

9 views
Skip to first unread message

Alex Guerreiro

unread,
Jul 12, 2011, 9:50:38 AM7/12/11
to simp...@googlegroups.com
HI guys,

How can I execute an update sql using simpleJPA?

regards

Jeffrey Jenkins

unread,
Jul 12, 2011, 2:04:15 PM7/12/11
to simp...@googlegroups.com
SimpleJPA unfortunately does not yet support UPDATE queries. Its on
the list of things I'd like to implement but haven't gotten around to
it. If you'd like to attempt it we'd all appreciate the help!

Jeff

> --
> You received this message because you are subscribed to the Google Groups
> "SimpleJPA" group.
> To post to this group, send email to simp...@googlegroups.com.
> To unsubscribe from this group, send email to
> simplejpa+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/simplejpa?hl=en.
>

Travis Reeder

unread,
Jul 12, 2011, 6:49:04 PM7/12/11
to simp...@googlegroups.com
To add to that, it's mostly due to the fact that SimpleDB doesn't support UPDATE queries. SimpleJPA would need to query for the items, then delete them (which you could do yourself pretty easily). 
Reply all
Reply to author
Forward
0 new messages