public interface LazySelectable
Modifier and Type | Method and Description |
---|---|
void |
checkLazySelects(java.lang.String fieldName)
Checks if lazy select needs to be performed.
|
void |
pendingLazySelects(Database database)
Informs a lazy selector that there are lazy selects to be performed.
|
void pendingLazySelects(Database database) throws LazyCascadeException
ScalarSelectOperation.readNext()
when a least one field has a SelectCascade.lazy()
set to true. Use Table.getLazySelectCascadeFields()
to know which fields are to be lazily selected.database
- the database where lazy select fields are to be readLazyCascadeException
- if errorvoid checkLazySelects(java.lang.String fieldName) throws LazyCascadeException
fieldName
- check field with this nameLazyCascadeException
- if error