com.atlassian.bamboo.utils.db
Class AbstractPreparedStatementProvider
java.lang.Object
com.atlassian.bamboo.utils.db.AbstractPreparedStatementProvider
- All Implemented Interfaces:
- PreparedStatementProvider
public abstract class AbstractPreparedStatementProvider
- extends java.lang.Object
- implements PreparedStatementProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPreparedStatementProvider
public AbstractPreparedStatementProvider()
prepareHsqlStatement
@NotNull
public java.sql.PreparedStatement prepareHsqlStatement(@NotNull
java.sql.Connection connection)
throws java.sql.SQLException
- Specified by:
prepareHsqlStatement
in interface PreparedStatementProvider
- Returns:
- specialized/optimised SQL query for HSQL engine
- Throws:
java.sql.SQLException
prepareMsSqlStatement
@NotNull
public java.sql.PreparedStatement prepareMsSqlStatement(@NotNull
java.sql.Connection connection)
throws java.sql.SQLException
- Specified by:
prepareMsSqlStatement
in interface PreparedStatementProvider
- Returns:
- specialized/optimised SQL query for SQL Server engine
- Throws:
java.sql.SQLException
prepareMySqlStatement
@NotNull
public java.sql.PreparedStatement prepareMySqlStatement(@NotNull
java.sql.Connection connection)
throws java.sql.SQLException
- Specified by:
prepareMySqlStatement
in interface PreparedStatementProvider
- Returns:
- specialized/optimised SQL query for MySQL engine
- Throws:
java.sql.SQLException
prepareOracleStatement
@NotNull
public java.sql.PreparedStatement prepareOracleStatement(@NotNull
java.sql.Connection connection)
throws java.sql.SQLException
- Specified by:
prepareOracleStatement
in interface PreparedStatementProvider
- Returns:
- specialized/optimised SQL query for Oracle engine
- Throws:
java.sql.SQLException
preparePostgreSqlStatement
@NotNull
public java.sql.PreparedStatement preparePostgreSqlStatement(@NotNull
java.sql.Connection connection)
throws java.sql.SQLException
- Specified by:
preparePostgreSqlStatement
in interface PreparedStatementProvider
- Returns:
- specialized/optimised SQL query for PostgreSQL engine
- Throws:
java.sql.SQLException
Copyright © 2012 Atlassian. All Rights Reserved.