[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] RollbackException: Transaction rolled back because transaction was set to RollbackOnly
|
No.
The spec. states (3.6.1):
Runtime exceptions other than the NoResultException and
NonUniqueResultException
thrown by the methods of the Query interface cause the current transaction
to be rolled back.
----- Original Message -----
From: "Leon Derks" <leon.derks@xxxxxxxxxx>
To: "EclipseLink User Discussions" <eclipselink-users@xxxxxxxxxxx>
Sent: Thursday, September 25, 2008 8:34 AM
Subject: [eclipselink-users] RollbackException: Transaction rolled back
because transaction was set to RollbackOnly
Hello
I get the following error while I try to commit the transaction.
- javax.persistence.RollbackException: Transaction rolled back because
transaction was set to RollbackOnly.
In the transaction there were some SQL exceptions that I logged using a
try{}catch{}
But still I want the transaction to commit.
I that possible?
Leon
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users