Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1417

Persistable Data Objects do not add JPAPlaceholderResolverStrategy in kie-deployment-descriptor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Data Modeler
    • Hide

      1) Create a Data Object with the flag Persistable
      2) See: Project > Settings > Persistence: the entries are correct
      3) See; Project > Settings > Deployments> Marshalling Strategies: It is missing the JPAPlaceholderResolverStrategy and so the persistence will not work.

      Show
      1) Create a Data Object with the flag Persistable 2) See: Project > Settings > Persistence: the entries are correct 3) See; Project > Settings > Deployments> Marshalling Strategies: It is missing the JPAPlaceholderResolverStrategy and so the persistence will not work.

      When checked Persistable for Data Object, BC/Workbench should add to deployment descriptor all setup needed to store the model as JPA entity, however it is missing the Marshalling.
      At Project > Settings > Deployments> Marshalling Strategies: should be added:

      new org.drools.persistence.jpa.marshaller.JPAPlaceholderResolverStrategy("com.myspace:Boards:1.0.0", classLoader)

      where com.myspace:Boards:1.0.0 is the persistence unit name generated at Project > Settings > Persistence

              tfernand-1 Tiago Bento
              rhn-support-alazarot Alessandro Lazarotti
              Klara Bezdekova Klara Bezdekova
              Klara Bezdekova Klara Bezdekova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: