liquibase.database
Class PreparedStatementFactory

java.lang.Object
  extended by liquibase.database.PreparedStatementFactory

public final class PreparedStatementFactory
extends Object

Factory for PreparedStatements


Constructor Summary
PreparedStatementFactory(JdbcConnection con)
           
 
Method Summary
 PreparedStatement create(String sql)
          Create a PreparedStatement object, sql pre-compilation might take place, depending on driver support.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PreparedStatementFactory

public PreparedStatementFactory(JdbcConnection con)
Method Detail

create

public PreparedStatement create(String sql)
                         throws DatabaseException
Create a PreparedStatement object, sql pre-compilation might take place, depending on driver support.

Parameters:
sql - to execute
Returns:
a PreparedStatement object
Throws:
DatabaseException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Liquibase.org. All rights reserved.