You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "brian yang (Jira)" <ji...@apache.org> on 2019/10/29 15:55:00 UTC

[jira] [Comment Edited] (CAMEL-14108) camel-jpa - while persisting list of entity, no id returned for entity

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

brian yang edited comment on CAMEL-14108 at 10/29/19 3:54 PM:
--------------------------------------------------------------

i updated camel-jpa to 3.0,0m1 , and it still does not work. which version of camel-jpa resolve the problem , can you share me a link ? i use [https://mvnrepository.com|https://mvnrepository.com/] to manage the dependency.

when 3.0.0 will be released ?


was (Author: brianyang):
i updated camel-jpa to 3.0,0m1 , and it still does not work. which version of camel-jpa resolve the problem , can you share me a link ? i use [https://mvnrepository.com|https://mvnrepository.com/] to manage the dependency

> camel-jpa - while persisting list of entity, no id returned for entity
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-14108
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14108
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jpa
>    Affects Versions: 2.17.1
>            Reporter: brian yang
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> i have java entity object with id attribute. 
> when i persist single object by using following
> <to uri="jpaOut://com.dnd.model.dnd.eav.EntityInstance"/>
> <log message="${body}"/>
> the result message include the generated id for entity instance, and it is saved in database
>  
> when i persist a list of object by using 
> <to uri="jpaOut://com.dnd.model.dnd.eav.EntityInstance?entityType=java.util.List"/>
> <log message="${body}"/>
> the result message shows that {color:#FF0000}id is null{color} for each entityinstance in the list, however, each object is created in database. 
> why id is null for list of returned object ? is this a bug?
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)