Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-21142 WildFly Preview needs to pass the Jakarta EE 11 Web Profile TCK tests
  3. WFLY-21154

Jakarta EE 11 (Web Profile) Persistence 3.2 TCK tests need to pass

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • JPA / Hibernate
    • None
    • ---
    • ---

      Currently we the following:

      Test name: persistence/core/types
      Number of Tests Passed = 82
      Number of Tests Failed = 0
      Number of Tests with Errors = 10
      

      The log shows the following:

      [INFO] Results:
      [INFO] 
      [ERROR] Errors: 
      [ERROR]   ClientPmservletTest.testCreateUUIDType »  Test case throws exception: Caught exception:
      [ERROR]   ClientPuservletTest.testCreateUUIDType »  Test case throws exception: Caught exception:
      [ERROR]   Client1PmservletTest » Deployment Cannot deploy jpa_core_types_generator_pmservlet_vehicle_web.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM2\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM-NOTX\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false "}}}}
      [ERROR]   Client1PuservletTest » Deployment Cannot deploy jpa_core_types_generator_puservlet_vehicle_web.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM-NOTX\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM2\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false "}}}}
      [ERROR]   Client2PmservletTest » Deployment Cannot deploy jpa_core_types_generator_pmservlet_vehicle_web.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM2\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM-NOTX\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false "}}}}
      [ERROR]   Client2PuservletTest » Deployment Cannot deploy jpa_core_types_generator_puservlet_vehicle_web.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM2\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM-NOTX\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false "}}}}
      [ERROR]   Client3PmservletTest » Deployment Cannot deploy jpa_core_types_generator_pmservlet_vehicle_web.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM2\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM-NOTX\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false "}}}}
      [ERROR]   Client3PuservletTest » Deployment Cannot deploy jpa_core_types_generator_puservlet_vehicle_web.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM2\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM-NOTX\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false "}}}}
      [ERROR]   Client4PmservletTest » Deployment Cannot deploy jpa_core_types_generator_pmservlet_vehicle_web.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM-NOTX\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_pmservlet_vehicle_web.war#CTS-EM2\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false "}}}}
      [ERROR]   Client4PuservletTest » Deployment Cannot deploy jpa_core_types_generator_puservlet_vehicle_web.war: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM2\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false ","jboss.persistenceunit.\"jpa_core_types_generator_puservlet_vehicle_web.war#CTS-EM-NOTX\"" => "java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false 
          Caused by: java.lang.IllegalArgumentException: Duplicate generator name SEQGENERATOR; you will likely want to set the property hibernate.jpa.compliance.global_id_generators to false "}}}}
      

      It seems like either there is a challenge here, or what "JPA Compliance" means has changed in Persistence 3.2. Setting hibernate.jpa.compliance.global_id_generators to false in order to pass a TCK seems odd.

              smarlow1@redhat.com Scott Marlow
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: