public class HibernateORMEngine extends Object implements ORMEngine
MODE_LAZY, MODE_STRICT
Constructor and Description |
---|
HibernateORMEngine() |
Modifier and Type | Method and Description |
---|---|
Component |
create(PageContext pc,
HibernateORMSession session,
String entityName,
boolean unique) |
void |
createMapping(PageContext pc,
Component cfc,
ORMConfiguration ormConf,
SessionFactoryData data) |
ORMSession |
createSession(PageContext pc) |
ORMConfiguration |
getConfiguration(PageContext pc) |
String |
getLabel() |
int |
getMode() |
void |
init(PageContext pc) |
boolean |
reload(PageContext pc,
boolean force) |
public HibernateORMEngine()
public void init(PageContext pc) throws PageException
init
in interface ORMEngine
PageException
public ORMSession createSession(PageContext pc) throws PageException
createSession
in interface ORMEngine
PageException
public boolean reload(PageContext pc, boolean force) throws PageException
reload
in interface ORMEngine
PageException
public void createMapping(PageContext pc, Component cfc, ORMConfiguration ormConf, SessionFactoryData data) throws PageException
PageException
public ORMConfiguration getConfiguration(PageContext pc)
getConfiguration
in interface ORMEngine
public Component create(PageContext pc, HibernateORMSession session, String entityName, boolean unique) throws PageException
pc
- session
- entityName
- name of the entity to getunique
- create a unique version that can be manipulatedinit
- call the nit method of the cfc or notPageException
Copyright © 2015 Lucee