How to persist LIsts of entities using JPA bindings in SwitchYard ?

Solution Unverified - Updated -

Issue

  • While working with JPA binding in SwitchYard, there are requirements for persisting java.util.List of some entities into database. However, modifying the service interface of the camel-jpa-binding quickstart does not seem to work.
    e.g. changing the existing service interface method from:

    void storeGreeting(Greet event);
    

    to this method instead:

    void storeGreeting(java.util.List<Greet> event);
    
  • Does the JPA binding of SwitchYard supports Arrays of entities or collection of entities?

Environment

  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content