Hello, David.

In your case EntityTransaction.isActive() should do the job.

Best regards
Georgi

David Goodenough wrote:
> Is there a way to detect whether there are any modified/dirty objects
> that need to be written to the datastore?  I do not need to know which 
> objects are dirty, just whether there are any.
> 
> I am trying to add the kind of functionality that puts up a question
> when someone tries to terminate the program without saving to 
> point out that they need to save.
> 
> Thanks,
> 
> David

Reply via email to