Uploaded image for project: 'Hibernate ORM'
  1. Hibernate ORM
  2. HHH-10930

Need to add jta dependency for the plugin to work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.2.8
    • Labels:
      None
    • Environment:
      using this to enhance nullable lazy properties

      Description

      I had to add a jta dependency to the plugin to make it work.

      <plugin>
          <groupId>org.hibernate.orm.tooling</groupId>
          <artifactId>hibernate-enhance-maven-plugin</artifactId>
          <version>${hibernate.version}</version>
          <executions>
              <execution>
                  <configuration>
                      <failOnError>true</failOnError>
                      <enableLazyInitialization>true</enableLazyInitialization>
                      <enableDirtyTracking>false</enableDirtyTracking>
                      <enableAssociationManagement>false</enableAssociationManagement>
                      <enableExtendedEnhancement>false</enableExtendedEnhancement>
                  </configuration>
                  <goals>
                      <goal>enhance</goal>
                  </goals>
              </execution>
          </executions>
          <dependencies>
              <dependency>
                  <groupId>javax.transaction</groupId>
                  <artifactId>jta</artifactId>
                  <version>${jta.version}</version>
              </dependency>
          </dependencies>
      </plugin>
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: