@PermitAll public class NativeQueryServiceBean extends Object implements NativeQueryService
Constructor and Description |
---|
NativeQueryServiceBean() |
Modifier and Type | Method and Description |
---|---|
ListHolder |
queryList(ExecutionContext context,
Object querySpecification,
Collection<?> parameters)
Executes the given query and returns a list of results.
|
Object |
querySingle(ExecutionContext context,
Object querySpecification,
Collection<?> parameters)
Executes the given query and returns a result.
|
public ListHolder queryList(ExecutionContext context, Object querySpecification, Collection<?> parameters) throws ErrorException
NativeQueryService
queryList
in interface NativeQueryService
ErrorException
public Object querySingle(ExecutionContext context, Object querySpecification, Collection<?> parameters) throws ErrorException
NativeQueryService
querySingle
in interface NativeQueryService
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.