Package liquibase.database
Class PreparedStatementFactory
java.lang.Object
liquibase.database.PreparedStatementFactory
Factory for PreparedStatements
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates aPreparedStatementobject for the specified SQL statement.toString()
-
Constructor Details
-
PreparedStatementFactory
-
-
Method Details
-
create
Creates aPreparedStatementobject for the specified SQL statement. The SQL statement may be pre-compiled by the driver depending on its support.- Parameters:
sql- the SQL statement to execute- Returns:
- a
PreparedStatementobject representing the specified SQL statement - Throws:
DatabaseException- if a database access error occurs or the given SQL statement is invalid
-
toString
-