org.oXML.extras.db
Interface Connector

All Known Implementing Classes:
ConnectorProxy, JdbcConnector

public interface Connector

A Connector represents a datasource that can execute queries


Field Summary
static Name DEFAULT_NAME
           
 
Method Summary
 void execute(java.lang.String statement)
           
 void execute(java.lang.String statement, Template target, RuntimeContext context)
          execute the statement
 

Field Detail

DEFAULT_NAME

public static final Name DEFAULT_NAME
Method Detail

execute

public void execute(java.lang.String statement,
                    Template target,
                    RuntimeContext context)
             throws ObjectBoxException
execute the statement

Parameters:
statement - the statement to be executed
target - the template of what the result should look like
Throws:
ObjectBoxException

execute

public void execute(java.lang.String statement)
             throws DatabaseException
Throws:
DatabaseException