Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-21461

WildFly 39 – Hibernate cannot unwrap TransactionScopedStatelessSession to SharedSessionContractImplementor when using Jakarta Data 1.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 39.0.0.Final
    • None

      WildFly 39 – Hibernate cannot unwrap TransactionScopedStatelessSession as SharedSessionContractImplementor when using Jakarta Data 1.0                                                     

      When using Jakarta Data 1.0 repositories on WildFly 39, the application fails
      at runtime due to a Hibernate session unwrap error.

      WildFly exposes a Hibernate session wrapped by Jipijapa
      (TransactionScopedStatelessSession), but Jakarta Data attempts to unwrap it to
      org.hibernate.engine.spi.SharedSessionContractImplementor, which fails.                                    environment: - WildFly: 39.0.0.Final

      • Jakarta EE: 11
      • Jakarta Data: 1.0
      • Hibernate ORM: 7.1.11 (provided by WildFly)
      • JDK: 21
      • OS: Ubuntu (OVH VPS)

              bstansbe@redhat.com Brian Stansberry
              maherth Maher Thamri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: