1. Will CompassGps roll back if the transaction is rolled back? stackoverflow.comIf CompassGps mirroring is used with Hibernate, what happens if the database transaction rolls back? Will the changes to the index be rolled back (assuming file store for the index)? It ... |
2. What happens if you don't roll back a transaction in Hibernate? stackoverflow.comEverything I read about Hibernate states that you must roll back a transaction and close the session when an error occurs, and there's usually some variation of the following code (taken ... |
3. Can I roll back a JTA transcation after I commit it? stackoverflow.comI have a JTA transcation which I commit. Can I roll it back after I commit? If yes, how? I have following situation.
|
4. Rolling back the WHOLE transaction? forum.hibernate.orgI'm experiencing a very weird problem using Hibernate 2.0 in a Session bean environment (JBoss and eventually WebLogic). I'm using a DataSource enlisted with JTA. I have some nested objects (say, Person with a list of Address objects attached). If I populate all required fields (e.g. not-null in the database), everything works fine. However, if I omit a required field from ... |
5. Transaction not rolling back forum.hibernate.orghi, i was recently having some trouble with a many-to-many relationship and while i fixed this problem, during testing i noticed that my transactions were not being rolled back on error. here are the mapping files i was using, notice that both ends of the many-to-many relationship are set inverse="false" resulting in two inserts into the join table. Code: |
6. websphere always rolling back transactions forum.hibernate.orgHi, I'm using Hibernate 2.1 with websphere 5 and I have the following trouble: When saving a new object, the transaction commits ok but then Websphere rolls back the transaction. Here is the websphere log: -------------------- [07/06/04 18:43:25:969 CEST] 2030b532 WebAppRequest d Checking UserTransaction for Incomplete transactions [07/06/04 18:43:25:969 CEST] 2030b532 UserTransacti > com.ibm.ejs.jts.jta.UserTransactionImpl.getStatus [07/06/04 18:43:25:969 CEST] 2030b532 CurrentImpl > get_status ... |
7. Transaction Not Rolling Back forum.hibernate.orgHello I am using Spring 1.1. with Hibernate 2. The Spring transaction does not roll back when used in conjunction with Hibernate. I'm aware that this may be a Spring issue and is therefore not completely relevant but it may be Hibernate that is causing my problem. The contents of my Spring configuration file are as follows: |
8. transaction could not be rolled back! forum.hibernate.orgHibernate version: 2.1.7c Name and version of the database you are using: Oracle 10g IDE: JDeveloper 10g (9.0.5.2) EJB Container: JDeveloper Embedded OC4J Hi, I'm not sure whether the problem is Hibernate's bug or not, I have following properties in hibernate.cfg.xml |
9. |
10. Transaction Not Rolling Back forum.hibernate.orgHello Hibernate Users, I am trying to execute a transaction using Hibernate that updates two databases. Suppose that inside my UserTransaction I update my first database, then (in the same UserTransaction) while I update my second database the entry in the first database gets deleted. Ideally the second database should not be updated and the whole UserTransaction should roll back. However ... |
11. Transaction Not Rolling Back forum.hibernate.orgIf anyone has a working example of a transaction rolling back properly could they please let me know. I only need rollback to work for one transaction updating one database. All the examples on the web and in the Hibernate Documentation seem to follow this basic pattern: Code: Session sess = factory.openSession(); Transaction tx = null; try { tx = sess.beginTransaction(); ... |
12. if i don't roll-back a transaction will i lose the Session forum.hibernate.orghi, I am using a begin transaction and commit transaction if the commit fails i am not calling the rollback() method. if the commit fails will the entire Session for the entire application will be closed. or the session will be there for using it in other methods in the application. This is my code example, public void saveBankValue( BankValue persistentInstance) ... |