Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Transaction logging
Transaction logging [message #781032] Thu, 19 January 2012 06:03
Thomas is currently offline Thomas
Messages: 151
Registered: July 2009
Senior Member

I want to log each transaction in the following way:

For each entity inserted/deleted/updated between transaction.begin() and transaction.commit() a transaction-id should be written both into the history table corresponding to the changed entity and into a "transaction-log-table". An entry in the transaction-log-table should also include e.g. a list (as string) of the tables/entities involved in the transaction.

I have already created a history customizer but have no idea how to handle the transaction (not entity) specific logging.

Any help would be very appreciated!

Previous Topic:Transaction logging
Next Topic:Native ORM vs JPA
Goto Forum:

Current Time: Sat Aug 23 05:29:05 EDT 2014

Powered by FUDForum. Page generated in 0.02301 seconds