railo.runtime.orm
Class ORMUtil
java.lang.Object
railo.runtime.orm.ORMUtil
public class ORMUtil
- extends Object
ORMUtil
public ORMUtil()
getSession
public static ORMSession getSession(PageContext pc)
throws PageException
- Throws:
PageException
getSession
public static ORMSession getSession(PageContext pc,
boolean create)
throws PageException
- Throws:
PageException
getEngine
public static ORMEngine getEngine(PageContext pc)
throws PageException
- Throws:
PageException
resetEngine
public static void resetEngine(PageContext pc,
boolean force)
throws PageException
- Parameters:
pc
- force
- if set to false the engine is on loaded when the configuration has changed
- Throws:
PageException
printError
public static void printError(Throwable t,
ORMEngine engine)
printError
public static void printError(String msg,
ORMEngine engine)
equals
public static boolean equals(Object left,
Object right)
getPropertyValue
public static Object getPropertyValue(Component cfc,
String name,
Object defaultValue)
Copyright © 2012 Railo