0 Replies Latest reply on Jul 16, 2014 10:30 AM by witek witek

    Switchyard jpa hibernate entity manager NamedQuery

    witek witek Newbie

      Does anyone can provide an example of Switchyard service using injected reference class containing:

      @PersistenceContext private EntityManager entityManager;

      an example with using @NamedQueries would be nice.

      I would like to create a service for manipulating multiple Entities (adding, fetching, persisting, etc).