KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I store file’s attributes (size, update time…) in database. So the problem is how to manage transaction for database and file. In a Java EE environment, JTA is just able to manage database transaction. In case, updating database is successful but file operation fails, should I write file-rollback method for this? Moreover, file operation in EJB container violates EJB spec. What’s your opinion?
Tags (comma-separated)
Save Edits
Cancel