railo.runtime.orm
Interface ORMEngine
- All Known Implementing Classes:
- HibernateORMEngine, ORMEngineDummy
public interface ORMEngine
MODE_LAZY
static final int MODE_LAZY
- See Also:
- Constant Field Values
MODE_STRICT
static final int MODE_STRICT
- See Also:
- Constant Field Values
getLabel
String getLabel()
- Returns:
- returns the label of the Engine, like "Hibernate" or "Transfer"
getMode
int getMode()
createSession
ORMSession createSession(PageContext pc)
throws PageException
- Throws:
PageException
getSessionFactory
Object getSessionFactory(PageContext pc)
throws PageException
- Throws:
PageException
init
void init(PageContext pc)
throws PageException
- Throws:
PageException
getConfiguration
ORMConfiguration getConfiguration(PageContext pc)
getDataSource
DataSource getDataSource()
getEntityNames
String[] getEntityNames()
reload
boolean reload(PageContext pc,
boolean force)
throws PageException
- Throws:
PageException
Copyright © 2012 Railo