org.apache.openjpa.jdbc.kernel
Class InstanceResultObjectProvider
java.lang.Object
org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider
org.apache.openjpa.jdbc.kernel.InstanceResultObjectProvider
- All Implemented Interfaces:
- org.apache.openjpa.lib.rop.ResultObjectProvider, org.apache.openjpa.lib.util.Closeable
public class InstanceResultObjectProvider
- extends SelectResultObjectProvider
Object provider implementation wrapped around a Select
.
- Author:
- Abe White
Methods inherited from class org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider |
absolute, close, getFetchConfiguration, getResult, getSelect, getStore, handleCheckedException, next, open, reset, setSize, size, supportsRandomAccess |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceResultObjectProvider
public InstanceResultObjectProvider(SelectExecutor sel,
ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch)
- Constructor.
- Parameters:
sel
- the select to executemapping
- the mapping for the base class of the result objectsstore
- the store to delegate loading tofetch
- the fetch configuration, or null for default
getResultObject
public Object getResultObject()
throws SQLException
- Throws:
SQLException
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.