On 12/09/2015 1:32am, Dipesh Jain wrote: > I am using apache cayenne 3.1. I know of one way to update records in the > database is to first use select query to find record and then update it, > but I don't want to use a select query for updating. How can I directly > update the record? I do not want to use EJBQLQuery or SQL TEMPLETE.
That's a bit like asking "how do I code in Java without using a keyboard?" What are you trying to do and why are you trying to do it without the tools the ORM gives you? Ari -- --------------------------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A