Class ResultLoaderMap.LoadPair
- java.lang.Object
-
- org.apache.ibatis.executor.loader.ResultLoaderMap.LoadPair
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ResultLoaderMap
public static class ResultLoaderMap.LoadPair extends java.lang.Object implements java.io.Serializable
Property which was not loaded yet.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<?>
configurationFactory
Factory class through which we get database connection.private static java.lang.String
FACTORY_METHOD
Name of factory method which returns database connection.private Log
log
Wow, logger.private java.io.Serializable
mappedParameter
Parameter of the sql statement.private java.lang.String
mappedStatement
ID of SQL statement which loads the property.private MetaObject
metaResultObject
Meta object which sets loaded properties.private java.lang.String
property
Name of the unread property.private ResultLoader
resultLoader
Result loader which loads unread properties.private java.lang.Object
serializationCheck
Object to check whether we went through serialization..private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
LoadPair(java.lang.String property, MetaObject metaResultObject, ResultLoader resultLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Configuration
getConfiguration()
private Log
getLogger()
void
load()
void
load(java.lang.Object userObject)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
FACTORY_METHOD
private static final java.lang.String FACTORY_METHOD
Name of factory method which returns database connection.- See Also:
- Constant Field Values
-
serializationCheck
private final transient java.lang.Object serializationCheck
Object to check whether we went through serialization..
-
metaResultObject
private transient MetaObject metaResultObject
Meta object which sets loaded properties.
-
resultLoader
private transient ResultLoader resultLoader
Result loader which loads unread properties.
-
log
private transient Log log
Wow, logger.
-
configurationFactory
private java.lang.Class<?> configurationFactory
Factory class through which we get database connection.
-
property
private java.lang.String property
Name of the unread property.
-
mappedStatement
private java.lang.String mappedStatement
ID of SQL statement which loads the property.
-
mappedParameter
private java.io.Serializable mappedParameter
Parameter of the sql statement.
-
-
Constructor Detail
-
LoadPair
private LoadPair(java.lang.String property, MetaObject metaResultObject, ResultLoader resultLoader)
-
-
Method Detail
-
load
public void load() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
load
public void load(java.lang.Object userObject) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getConfiguration
private Configuration getConfiguration()
-
getLogger
private Log getLogger()
-
-