Has anyone used the newly promoted Commons Transaction for dealing with file writing/reading in a transaction setting? I have a few service methods that write or delete a file then stick the file name into a database. I have rollback working great for database exceptions where it can't write the filename, but I have no ability to delete the file if there is a failure writing its name to the database. Is there a built in spring mechanism for this or should I pursue creating a type of transaction aspect thing with this commons Transaction?
Announcement Announcement Module
No announcement yet.