org.oXML.extras.db
Class Query
java.lang.Object
org.oXML.extras.db.Query
- public class Query
- extends java.lang.Object
Encapsulates a db-to-xml Mapping - comprises of one complete mapping with:
a StatementTemplate representing the db query,
- See Also:
StatementTemplate
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Query
public Query(StatementTemplate statement,
Name connectionName,
Variable[] params)
Query
public Query(StatementTemplate statement,
Template target,
Name connectionName,
Variable[] params)
getConnectionName
public Name getConnectionName()
setParameter
public void setParameter(Name name,
Node value)
execute
public void execute(RuntimeContext context)
throws ObjectBoxException
- Throws:
ObjectBoxException