How can I get the JPA API version programmatically?

Viewed 65

I am working on a spring boot project using JPA. Is there any class or method in that API which I can use to get a version string programmatically?

For example:

  • for the hibernate version: org.hibernate.Version.getVersionString()
  • for the thymeleaf version: Thymeleaf.getVersion()
0 Answers
Related