I am seeking to use Apache Cayenne to implement a database, and would like to know how to use Cayenne's API to perform an "add" operation.
I have been reading over the query document for two days. It gives good information on how to get a list of objects in a table, how to search by primary key, how to use expressions to modify searches, and all the many different ways you can search a database.
It does not tell how to add a new record to a table, or how to make changes to a record. The doco writers seem primarily interested in documenting the nice searches you can do.
Can someone please either provide or point me to an example of doing adds and updates??? An example of a delete would be nice, too...
Someone please advise.