public interface QueryExtractor
Query
.Modifier and Type | Method and Description |
---|---|
boolean |
canExtractQuery()
Returns whether the extractor is able to extract the original query string from a given
Query . |
String |
extractQueryString(javax.persistence.Query query)
Reverse engineers the query string from the
Query object. |
@Nullable String extractQueryString(javax.persistence.Query query)
Query
object. This requires provider specific API as JPA does
not provide access to the underlying query string as soon as one has created a Query
instance of it.query
- boolean canExtractQuery()
Query
.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.