1. Concurrency & ordering guarantees on using the interceptor forum.hibernate.orgHi, I have some J2EE apps (using of course JBoss/Hibernate) that required the same master data. The data schemes differs and cannot consolidate with low effort. Therefore I want to nominate one application as master and replicate the changes to the other (slave-)apps. I can successfully retrieve the changeset of a transaction using the Hibernate interceptor and I use JMS topics ... |
2. Interceptor.postFlush and rollback forum.hibernate.orgHibernate version: 2.1.7 hi there, i've got a for me strange behaviour and i just want to ask, if i'm thinking wrong ... i need to write HistoryLogs to my db, so i use a Interceptor. In the postFlush-method all HistoryLogs are persisted ... To write the insert-statements, i'm using the connection of the current session (for using the same transaction). ... |
3. detecting the transaction from within the interceptor forum.hibernate.org |
4. creating interceptor at session level using JTA forum.hibernate.org |
5. interceptor/ transactions (hib3) forum.hibernate.orghi, plain vanilla session-factory-scoped interceptor: is there anyway to participate in the transaction of the caller? e.g. a Report object is being saved. in the onSave method body i would like to insert a record into a dependant ReportInfo table. because of the FK constraint in the dependant ReportInfo table, i can not insert the dependent record unitil the parent record ... |
6. Interceptor and Transaction receiving a AssertionFailure forum.hibernate.orgHibernate version: Hibernate 3.2 Hi, I am using spring to manage the transaction this way: Code: |
7. Interceptor wrongly increases optlocking version on rollback forum.hibernate.orgKEYWORDS: Interceptor, flushDirty, Rollback, Optlocking, Version We are using an Interceptor to add updated by, change informations to our persisted objects. the objects are detatched, updated via session.save(). when we add the interceptor which then adds the change info to the currentState it works fine, except that when we get a StaleObjectException (or other exceptions) the version/optlocking flag is already increased ... |