You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Vermeulen (JIRA)" <ji...@apache.org> on 2012/08/16 12:23:38 UTC

[jira] [Commented] (OPENJPA-2241) Records from a JoinTable being deleted without any related user action

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

Vermeulen commented on OPENJPA-2241:
------------------------------------

Do you have an entity with two separate mappings to Roles? If so, perhaps you have the same issue I had in OPENJPA-2239.
                
> Records from a JoinTable being deleted without any related user action
> ----------------------------------------------------------------------
>
>                 Key: OPENJPA-2241
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2241
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.1.0
>         Environment: Red Hat Enterprise Linux 5.8 64 Bit
> Apache OpenJPA 2.1.0
> Spring 3.0.5
> JDK 1.6
> Apache Tomcat 7.0.23
> DB2 9.7 FP 5
> J2EE web application
>            Reporter: Santosh Shanmukh
>            Priority: Critical
>
> The web application uses a JoinTable to store user roles. It has a screen to assign/remove user roles.
> At unpredictable times when the user is using the tool intermittently logging out and logging in, all the role records from the JoinTable get deleted on their own.
> We have enable SQL trace to see the sequence in which the deletion happens, and are certain that this user role deletion is not user initiated.
> Please let me know how this issue can be resolved.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira