public interface DbReadContext
| Modifier and Type | Method and Description |
|---|---|
DataReader |
getDataReader()
Return the DataReader.
|
BeanPropertyAssocMany<?> |
getManyProperty()
Return the property that is associated with the many.
|
PersistenceContext |
getPersistenceContext()
Return the persistence context.
|
SpiQuery.Mode |
getQueryMode()
Return the query mode.
|
boolean |
isAutoFetchProfiling()
Return true if we are profiling this query.
|
boolean |
isRawSql()
Return true if the query is using supplied SQL rather than generated SQL.
|
Boolean |
isReadOnly()
Return the state of the object graph.
|
void |
profileBean(EntityBeanIntercept ebi,
String prefix)
Add autoFetch profiling for a loaded entity bean.
|
void |
propagateState(Object e)
Propagate the state to the bean.
|
void |
register(String path,
BeanCollection<?> bc)
Register a collection for lazy loading.
|
void |
register(String path,
EntityBeanIntercept ebi)
Register a reference for lazy loading.
|
void |
setCurrentPrefix(String currentPrefix,
Map<String,String> pathMap)
Set the JoinNode - used by proxy/reference beans for profiling.
|
void |
setLoadedBean(Object loadedBean,
Object id,
Object lazyLoadParentId)
Set back the bean that has just been loaded with its id.
|
void |
setLoadedManyBean(Object loadedBean)
Set back the 'detail' bean that has just been loaded.
|
Boolean isReadOnly()
void propagateState(Object e)
DataReader getDataReader()
boolean isRawSql()
void setCurrentPrefix(String currentPrefix, Map<String,String> pathMap)
boolean isAutoFetchProfiling()
void profileBean(EntityBeanIntercept ebi, String prefix)
PersistenceContext getPersistenceContext()
void register(String path, EntityBeanIntercept ebi)
void register(String path, BeanCollection<?> bc)
BeanPropertyAssocMany<?> getManyProperty()
void setLoadedBean(Object loadedBean, Object id, Object lazyLoadParentId)
void setLoadedManyBean(Object loadedBean)
SpiQuery.Mode getQueryMode()
Copyright © 2014. All Rights Reserved.