public interface ResultObjectFactory
For example an implementation of this interface could return a single Persistent object per row (PersistentIDROF). Another implementation could return all columns of the result set as separate objects.
QueryResult| Modifier and Type | Method and Description |
|---|---|
Object |
getObject(org.datanucleus.ExecutionContext ec,
ResultSet rs)
Instantiates object(s) from the current row of the given result set.
|
Object getObject(org.datanucleus.ExecutionContext ec, ResultSet rs)
ec - ExecutionContextrs - The result set which will be used to convert the current row into the returned object(s).Copyright © 2015. All rights reserved.