[ 
https://issues.apache.org/jira/browse/DELTASPIKE-734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14151562#comment-14151562
 ] 

Thomas Hug commented on DELTASPIKE-734:
---------------------------------------

Two questions:
- Which transaction strategy do you have in place? (see 
http://deltaspike.apache.org/documentation/jpa#_jta_support)
- What is the Hibernate log output when show_sql is enabled?

> remove() and removeFlush() doesn't seem to perform the operation
> ----------------------------------------------------------------
>
>                 Key: DELTASPIKE-734
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-734
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Data-Module
>    Affects Versions: 1.0.2
>         Environment: Windows 7, JBoss EAP 6.3, Deltaspike 1.0.2, intel i5, 
> 4GB RAM.
>            Reporter: Loïc Prieto Dehennault
>
> We've recently moved the project from a custom-built JPA query 
> builder/executor to deltaspike Data, using the EntityRepository interface to 
> perform CRUD operations, and the remove and removeFlush methods of 
> EntityRepository do not seem to perform the operation. They pass without 
> error, but nothing is affected.
> The transaction context is provided by a Stateless EJB bean, which invokes 
> the methods of the repositories (that implement the EntityRepository and 
> CriteriaSupport interfaces).
> Update and create operations are performed correctly, only the remove 
> operation is not completed.
> Thats all I can think off the top of my head, if you need any more info, 
> please ask for it and I will gladly provide.
> Thanks,
> Loïc Prieto.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to