ObjectDB ObjectDB

getParameters() - JPA Query's method

Method
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.
Returns:
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