Class SQLExtractor
java.lang.Object
io.hypersistence.utils.hibernate.query.SQLExtractor
The
SQLExtractor allows you to extract the
underlying SQL query generated by a JPQL or JPA Criteria API query.
For more details about how to use it, check out this article on vladmihalcea.com.
- Since:
- 2.9.11
- Author:
- Vlad Mihalcea
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SQLExtractor
protected SQLExtractor()
-
-
Method Details
-
from
Get the underlying SQL generated by the provided JPA query.- Parameters:
query- JPA query- Returns:
- the underlying SQL generated by the provided JPA query
-