public class NativeQueryExecutor
extends java.lang.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 |
|---|---|
java.util.List<java.lang.Object> |
getResultList(com.whitestein.lsps.model.sharedrecord.NativeQuerySpecification spec,
java.util.Collection<?> parameters)
Executes the given query and returns a list of results.
|
java.lang.Object |
getSingleResult(com.whitestein.lsps.model.sharedrecord.NativeQuerySpecification spec,
java.util.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 java.util.List<java.lang.Object> getResultList(com.whitestein.lsps.model.sharedrecord.NativeQuerySpecification spec,
java.util.Collection<?> parameters)
throws ErrorException
spec - parameters - ErrorExceptionpublic java.lang.Object getSingleResult(com.whitestein.lsps.model.sharedrecord.NativeQuerySpecification spec,
java.util.Collection<?> parameters)
throws ErrorException
spec - parameters - ErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.