openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-1964) Cascade on persist does not correctly cascade all objects in the graph
Date Wed, 30 Mar 2011 19:00:05 GMT

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

Rick Curtis commented on OPENJPA-1964:
--------------------------------------

Todd -

The link you posted isn't there? (404)

Where you able to work around this issue?

Thanks,
Rick

> Cascade on persist does not correctly cascade all objects in the graph
> ----------------------------------------------------------------------
>
>                 Key: OPENJPA-1964
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1964
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.1.0
>         Environment: Sun JDK 1.6
>            Reporter: Todd Nine
>            Priority: Blocker
>
> We're currently building a Cassandra adapter for OpenJPA.  In doing so we've encountered
an issue that I think may be a bug.  We have our test cases and source available here.
> https://github.com/riptano/hector-jpa/blob/master/src/test/java/com/datastax/hectorjpa/store/ManyToManyIndexTest.java
> Essentially, the test constructs the following relationships.
> User A -one-many--> Observe -many-one--> User B
> Essentially our test models what is functionally a many-many with additional meta.
> When CassandraStoreManager.flush is called only UserA and Observe are in the pNew collection.
 Where User A, Observer and User B should be in pNew since all cascade on persist.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message