org.oddjob.sql
Interface SQLExecutor

All Superinterfaces:
Destination<String>
All Known Implementing Classes:
ParameterisedExecutor

public interface SQLExecutor
extends Destination<String>

Abstraction for something that executes an SQL statement.

Author:
rob

Method Summary
 void accept(String sql)
          Execute the SQL.
 

Method Detail

accept

void accept(String sql)
            throws BadBeanException
Execute the SQL.

Specified by:
accept in interface Destination<String>
Parameters:
sql - The SQL. Never expected to be null.
Throws:
SQLException
BadBeanException