com.elogico.xbound.jdbc
Interface SourceHandler

All Known Implementing Classes:
StatementSourceHandler

public interface SourceHandler

A SourceHandler handles it's associated Source object in order to generate a callable SQL statement.

Version:
$Revision: 1.1 $
Author:
Marco Sarti

Method Summary
 java.sql.PreparedStatement prepareStatement(java.sql.Connection conn, Source stm)
          Obtain an instance of java.sql.PreparedStatement from a com.elogico.xbound.jdbc.Source.
 

Method Detail

prepareStatement

java.sql.PreparedStatement prepareStatement(java.sql.Connection conn,
                                            Source stm)
                                            throws java.sql.SQLException,
                                                   XBoundException
Obtain an instance of java.sql.PreparedStatement from a com.elogico.xbound.jdbc.Source.

Parameters:
conn - the connection to use
stm - a com.elogico.xbound.jdbc.Source to be prepared
Returns:
the instance of PreparedStatement
Throws:
java.sql.SQLException
XBoundException