1

I am new to IBM Filenet P8. I can successfully upload and dowwnload files from filenet. But I need transaction management so for that i went to EJB Transort. But I do no how to rollback the files when exception occurs.I am using spring and hibernate and i do no how to configure JTA for filenet in spring

ᄂ ᄀ
  • 5,669
  • 6
  • 43
  • 57

1 Answers1

-1

By default, EJB transations are on so you don't need to do anything. If a document is persisted within a transaction and an exception occurs, the creation of the document is rolled back.

Robert Mugattarov
  • 1,278
  • 2
  • 12
  • 26
  • What you described has nothing to do with EJB transactions. It's just the atomicity of a single operation. – ᄂ ᄀ Dec 05 '16 at 13:38
  • @fnt, what are you talking about? OP is using EJB and the transactions are on by default, and an exception during creation or modification will roll back the changes in a FileNet document. – Robert Mugattarov Dec 05 '16 at 14:17