Apache Cayenne insert data from a non cayenne app to database

62 Views Asked by At

I've an Tomcat app running with cayenne, now I habe another application that inserts/changes data from outside in the db! As cayenne is fully cached, what would be the best way to make cayenne aware of the new / changed rows?

regards Markus

1

There are 1 best solutions below

0
maikm On BEST ANSWER

Unless you're using Query caches, any explicit fetch (e.g. a SelectQuery) you do in Cayenne will still hit the database, and thus should find the changed content.