public class SqlBeanLoad extends Object
Takes into account the differences of lazy loading and partial objects.
| Constructor and Description |
|---|
SqlBeanLoad(DbReadContext ctx,
Class<?> type,
Object bean,
SpiQuery.Mode queryMode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLazyLoad()
Return true if this is a lazy loading.
|
Object |
load(BeanProperty prop) |
void |
loadAssocMany(BeanPropertyAssocMany<?> prop) |
void |
loadIgnore(int increment)
Increment the resultSet index 1.
|
public SqlBeanLoad(DbReadContext ctx, Class<?> type, Object bean, SpiQuery.Mode queryMode)
public boolean isLazyLoad()
public void loadIgnore(int increment)
public Object load(BeanProperty prop) throws SQLException
SQLExceptionpublic void loadAssocMany(BeanPropertyAssocMany<?> prop)
Copyright © 2014. All Rights Reserved.