Thank you so much Taariq,

Your advice was exactly what I needed to give me enough information to
resolve my issue.

        public List<ItemDocument> splitItemsRootDocuments(ItemRootDocument doc) 
{
                List<ItemDocument> items = new ArrayList();
                List<ItemDocuments> itemDocumentsList = 
doc.getItemDocumentsList();
            for (ItemDocuments itemDocuments : itemDocumentsList) {
                items.addAll(itemDocuments.getItemDocumentList());
              }
                return items;
    }


regards



--
View this message in context: 
http://camel.465427.n5.nabble.com/JPA-component-Persist-1-record-working-but-how-to-persist-many-records-tp5742267p5742278.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to