Package com.vladmihalcea.hibernate.query
Class SQLExtractor
- java.lang.Object
-
- com.vladmihalcea.hibernate.query.SQLExtractor
-
- Direct Known Subclasses:
SQLExtractor
public class SQLExtractor extends java.lang.Object
TheSQLExtractor
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SQLExtractor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
from(javax.persistence.Query query)
Get the underlying SQL generated by the provided JPA query.
-