Class JpaDetector

java.lang.Object
org.springframework.data.jpa.util.JpaDetector

public abstract class JpaDetector extends Object
A common delegate for detecting JPA presence and for identifying JPA versions. All the methods of this class can be safely used without any preliminary classpath checks.
Since:
4.2
Author:
Mark Paluch
  • Constructor Details

    • JpaDetector

      public JpaDetector()
  • Method Details

    • isJpa32Present

      public static boolean isJpa32Present()
      Determine whether JPA 3.2 (or newer) is present.
    • isJpa4Present

      public static boolean isJpa4Present()
      Determine whether JPA 4.0 is present in general.