Hi,

I sometimes have inserts or updates failing that are totally ok to fail, like a 
numeric field overflow or something. My problem: I have a callstack, but not 
the actual values that were being attempted to store.

I use a custom saveChanges() method in my custom ObjectContext subclass that 
wraps commitChangesToParent(). I could try/catch that and log something if it 
fails, but I don't see a way to access the actual SQL or loggable graph diff at 
that point. Is there (beyond turning on SQL logging in general)?

Using Cayenne 4.0.

Thanks
Maik

Reply via email to