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

Process variables of type hibernate-long-id/hibernate-string-id don't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • jBPM 4.2
    • Runtime Engine
    • None

    Description

      This is the same problem as JBPM-2474.
      The problem is in HibernateIdMatcher.
      if (sessionFactory!=null)

      { ClassMetadata classMetadata = sessionFactory.getClassMetadata(value.getClass()); matches = ( (classMetadata!=null) && (classMetadata.getIdentifierType().getClass()==getIdType()) ); }

      value.getClass() is returning the Javassist proxy class that is not found.
      It needs to check for "value.getClass().getSuperClass()" if value instance of HibernateProxy.

      Attachments

        Issue Links

          Activity

            People

              rebody HuiSheng Xu (Inactive)
              dcornelius_jira Derek Cornelius (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: