public class NativeQueryExecutor extends Object
Constructor and Description |
---|
NativeQueryExecutor(ModelProvider modelProvider,
ExecutionContext context)
Creates new instance.
|
NativeQueryExecutor(ModelProvider modelProvider,
ExecutionContext context,
InterpreterStackTrace stackTrace)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
List<Object> |
getResultList(com.whitestein.lsps.model.sharedrecord.NativeQuerySpecification spec,
Collection<?> parameters)
Executes the given query and returns a list of results.
|
Object |
getSingleResult(com.whitestein.lsps.model.sharedrecord.NativeQuerySpecification spec,
Collection<?> parameters)
Executes the given query and returns unique results.
|
public NativeQueryExecutor(ModelProvider modelProvider, ExecutionContext context, InterpreterStackTrace stackTrace)
modelProvider
- context
- stackTrace
- public NativeQueryExecutor(ModelProvider modelProvider, ExecutionContext context)
modelProvider
- context
- public List<Object> getResultList(com.whitestein.lsps.model.sharedrecord.NativeQuerySpecification spec, Collection<?> parameters) throws ErrorException
spec
- parameters
- ErrorException
public Object getSingleResult(com.whitestein.lsps.model.sharedrecord.NativeQuerySpecification spec, Collection<?> parameters) throws ErrorException
spec
- parameters
- ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.