JPA Method
in javax.persistence.Query

Set<Parameter<?>> getParameters()


Get the parameter objects corresponding to the declared parameters of the query. Returns empty set if the query has no parameters. This method is not required to be supported for native queries.
Return:
set of the parameter objects
Throws:
IllegalStateException - if invoked on a native query when the implementation does not support this use
Since:
JPA 2.0