com.elogico.xbound.jdbc.impl
Class StatementSourceHandler

java.lang.Object
  extended by com.elogico.xbound.jdbc.impl.StatementSourceHandler
All Implemented Interfaces:
SourceHandler

public class StatementSourceHandler
extends java.lang.Object
implements SourceHandler

Handler for StatementSource.

Version:
$Revision: 1.1 $
Author:
Marco Sarti

Constructor Summary
StatementSourceHandler()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementSourceHandler

public StatementSourceHandler()
Method Detail

prepareStatement

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

Specified by:
prepareStatement in interface SourceHandler
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