|
||||||||||
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.hsqldb.HsqlDbPlatform
public class HsqlDbPlatform
The platform implementation for the HsqlDb database.
Field Summary | |
---|---|
static java.lang.String |
DATABASENAME
Database name of this platform. |
static java.lang.String |
JDBC_DRIVER
The standard Hsqldb jdbc driver. |
static java.lang.String |
JDBC_SUBPROTOCOL
The subprotocol used by the standard Hsqldb driver. |
Fields inherited from class org.apache.ddlutils.platform.PlatformImplBase |
---|
MODEL_DEFAULT_NAME |
Constructor Summary | |
---|---|
HsqlDbPlatform()
Creates a new instance of the Hsqldb platform. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the database that this platform is for. |
void |
shutdownDatabase(java.sql.Connection connection)
Performs a shutdown at the database. This is necessary for some embedded databases which otherwise would be locked and thus would refuse other connections. Note that this does not change the database structure or data in it in any way. |
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 java.lang.String DATABASENAME
public static final java.lang.String JDBC_DRIVER
public static final java.lang.String JDBC_SUBPROTOCOL
Constructor Detail |
---|
public HsqlDbPlatform()
Method Detail |
---|
public java.lang.String getName()
public void shutdownDatabase(java.sql.Connection connection)
shutdownDatabase
in interface Platform
shutdownDatabase
in class PlatformImplBase
connection
- The connection to the database
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |