[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1662) bulk delete causes RollbackException

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sat Oct 13 01:58:38 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28416 ] 

Diego Pires Plentz commented on HHH-1662:
-----------------------------------------

Isolate the testcase with the minimal sources to reproduce the error.

> bulk delete causes RollbackException
> ------------------------------------
>
>                 Key: HHH-1662
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1662
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: query-hql
>    Affects Versions: 3.2.0.alpha2
>            Reporter: Bill Burke
>         Attachments: ex09_1.zip
>
>
> The attached EJB3 example causes the following exception:
>      [java] Show all amount paid for all of Bill's reservations before update:
>      [java] amountPaid: 10.0
>      [java] amountPaid: 510.0
>      [java] Exception in thread "main" javax.persistence.RollbackException: Transaction marked as rollbackOnly
>      [java]     at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:50)
>      [java]     at com.titan.clients.Bulk.main(Bulk.java:32)
>      [java] Java Result: 1
> TO run example:
> ant run.bulk
> The program is in
> src/main/com/titan/clients/Bulk.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list