Hey all!

I think that this kind of question, if you're looking for a workaround, 
would be better suited to www.stackoverflow.com.  If it's an actual Feature 
request or a Defect report, I would suggest that you go report it here 
: https://code.google.com/p/googleappengine/wiki/FilingIssues?tm=3

Thank you! :)

On Monday, February 9, 2015 at 12:11:42 AM UTC-5, Aniruddha Das wrote:
>
> I am having the same problem when i try to persist parent entity after 
> storing the clicd and passing the reference to parent. Any one have any 
> idea?
>
> On Thursday, July 25, 2013 at 6:24:21 PM UTC+5:30, Kaushal Prajapati wrote:
>>
>>
>>
>>
>>
>>
>> *Exception  persist method Save Attempt to assign child with key 
>> Role(19003) to parent with key User(no-id-yet). Parent keys are 
>> immutableException  persist method Save Detected attempt to establish 
>> User(19004) as the parent of Role(1) but the entity identified by Role(1) 
>> has already been persisted without a parent.  A parent cannot be 
>> established or changed once an object has been persisted.I want to save 
>> user entity with role as a relation entity *
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *public class User{    @Id    @GeneratedValue(strategy = 
>> GenerationType.IDENTITY)    private Key 
>> id;@ManyToOne(fetch=FetchType.EAGER,cascade = CascadeType.ALL)    
>> @JoinColumn(name="role_id")        private Role role;}i cant save user 
>> entity when i assign role to user entity.*
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/59ec1c38-1b3c-4290-a5c5-34ea3efefee4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to