|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ddlutils.util.JdbcSupport
org.apache.ddlutils.platform.PlatformImplBase
org.apache.ddlutils.platform.firebird.FirebirdPlatform
The platform implementation for the Firebird database. It is assumed that the database is configured with sql dialect 3!
Field Summary | |
static String |
DATABASENAME
Database name of this platform. |
static String |
JDBC_DRIVER
The standard Firebird jdbc driver. |
static String |
JDBC_SUBPROTOCOL
The subprotocol used by the standard Firebird driver. |
Constructor Summary | |
FirebirdPlatform()
Creates a new Firebird platform instance. |
Method Summary | |
int |
evaluateBatch(Connection connection,
String sql,
boolean continueOnError)
Firebird-specific replacement for PlatformImplBase.evaluateBatch(Connection, String, boolean)
that executes blocks delimited by the term FirebirdBuilder.TERM_COMMAND
(defined in the database via SET TERM !!; ), in one go. |
String |
getName()
Returns the name of the database that this platform is for. |
Methods inherited from class org.apache.ddlutils.util.JdbcSupport |
borrowConnection, closeStatement, getDataSource, getPassword, getUsername, returnConnection, setDataSource, setPassword, setUsername |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.ddlutils.Platform |
borrowConnection, getDataSource, getPassword, getUsername, returnConnection, setDataSource, setPassword, setUsername |
Field Detail |
public static final String DATABASENAME
public static final String JDBC_DRIVER
public static final String JDBC_SUBPROTOCOL
Constructor Detail |
public FirebirdPlatform()
Method Detail |
public String getName()
public int evaluateBatch(Connection connection, String sql, boolean continueOnError) throws DynaSqlException
PlatformImplBase.evaluateBatch(Connection, String, boolean)
that executes blocks delimited by the term FirebirdBuilder.TERM_COMMAND
(defined in the database via SET TERM !!;
), in one go.
evaluateBatch
in interface Platform
evaluateBatch
in class PlatformImplBase
connection
- The connection to usesql
- The sql to processcontinueOnError
- Whether to continue when an error occurs
DynaSqlException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |