Class JpaDetector
java.lang.Object
org.springframework.data.jpa.util.JpaDetector
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDetermine whether JPA 3.2 (or newer) is present.static booleanDetermine whether JPA 4.0 is present in general.
-
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.
-