Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-7475

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Data Modeller
    • None
    • NEW
    • NEW
    • 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
              Juraj Soltes Juraj Soltes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: