org.squashtest.tm.service.internal.api.repository
Class NamedParamsUniqueResultExecution
java.lang.Object
org.squashtest.tm.service.internal.api.repository.NamedParamsUniqueResultExecution
public class NamedParamsUniqueResultExecution
- extends Object
Execution of a query which uses named parameters and returns a singler row.
- Author:
- Gregory Fouquet
|
Method Summary |
|
executeQuery(org.hibernate.Query query)
|
protected Object |
results(org.hibernate.Query query)
This method should return the results of given query. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamedParamsUniqueResultExecution
public NamedParamsUniqueResultExecution(Map<String,?> namedParameters)
- Parameters:
namedParameters -
results
protected Object results(org.hibernate.Query query)
- This method should return the results of given query.
- Parameters:
query -
- Returns:
- the query's unique result.
- See Also:
TemplateNamedParamsExecution.results(org.hibernate.Query)
executeQuery
public <R> R executeQuery(org.hibernate.Query query)
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.