brian yang created CAMEL-14108:
----------------------------------
Summary: 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
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)