How do I search for possibly modified objects in Apache Cayenne?
Like other ORM frameworks, a query in Cayenne reads the database. But unlike other ORM frameworks, Cayenne only writes changes to the database upon a commit. This means that a query will not see changes made in the same transaction: