org.dasein.persist.jdbc
Class Loader
java.lang.Object
org.dasein.persist.Execution
org.dasein.persist.jdbc.AutomatedSql
org.dasein.persist.jdbc.Loader
public class Loader
- extends AutomatedSql
| Methods inherited from class org.dasein.persist.jdbc.AutomatedSql |
getColumns, getCriteria, getEntityJoin, getJoin, getJoinEntities, getJoinTable, getSqlName, getSqlName, getSqlNameForClassName, getTableName, getTarget, getTranslationMethod, getTranslators, getTypes, init, isTranslating, loadStringTranslations, parseFields, prepare, prepare, prepareFor, prepareFor, removeStringTranslations, saveStringTranslation, setCriteria, setCriteria, setCriteria, setCriteria, setCustomTranslating, setEntityJoins, setTarget, setTarget, setTarget, setTranslating, setTranslating |
| Methods inherited from class org.dasein.persist.Execution |
close, execute, getConnection, getDataSource, getDataSourceName, getDataSourceName, getIdentifier, getIdentifier, getInstance, getQuotes, getState, getStatement, getStatement, isReadOnly, isUpperCase, run, saveStringTranslation, setData, setDsn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final org.apache.log4j.Logger logger
LISTING
public static final String LISTING
- See Also:
- Constant Field Values
Loader
public Loader()
getStatement
public String getStatement()
throws SQLException
- Overrides:
getStatement in class Execution
- Returns:
- the SQL for this event
- Throws:
SQLException
setOrder
protected void setOrder(boolean desc,
String... cols)
prepare
public void prepare(Map<String,Object> params)
throws SQLException
- Throws:
SQLException
run
public Map<String,Object> run(Transaction xaction,
Map<String,Object> params)
throws SQLException,
PersistenceException
- Overrides:
run in class Execution
- Throws:
SQLException
PersistenceException
getValue
public Object getValue(String col,
int i,
ResultSet rs)
throws SQLException
- Throws:
SQLException
Copyright © 2011 enStratus Networks LLC. All Rights Reserved.