org.makumba.db.makumba.sql
Class HsqldbDatabase

java.lang.Object
  extended by org.makumba.db.makumba.Database
      extended by org.makumba.db.makumba.sql.Database
          extended by org.makumba.db.makumba.sql.HsqldbDatabase

public class HsqldbDatabase
extends Database

the database adapter for Hsqldb


Field Summary
 
Fields inherited from class org.makumba.db.makumba.sql.Database
addUnderscore, catalog, connectionConfig, DESIRED_TRANSACTION_LEVEL, eng, pooledDataSource, sqlDrivers, url
 
Fields inherited from class org.makumba.db.makumba.Database
nr, requestForeignKeys, requestUTF8, tp
 
Constructor Summary
HsqldbDatabase(Properties p)
          simply calls super
 
Method Summary
protected  String getJdbcUrl(Properties p)
          builds a JDBC Connection URL given the host, sqlEngine and database properties
 String getLimitSyntax()
           
 boolean isDuplicateException(SQLException e)
          return whether the exception indicates a duplicate. may need to be specified differently for certain database engines
 boolean isLimitOffsetFirst()
           
 
Methods inherited from class org.makumba.db.makumba.sql.Database
checkState, checkState, closeResourcePool, exec, getDuplicateFields, getEngine, getEngineProperty, getIdleConnections, getMaxPointerValue, getMinPointerValue, getNameResolverHook, getOpenedConnections, getPointer, getPooledDBConnection, getResourcePoolSize, getTableClass, getTableClassConfigured, getWrappedStatementToString, isForeignKeyViolationException, logException, logException, logException, makeDBConnection, OQLDate, parseReadableForeignKeyErrorMessage, prepareQueryImpl, prepareUpdateImpl, readCatalog, SQLEscape, supportsForeignKeys, supportsLimitInQuery, supportsUTF8
 
Methods inherited from class org.makumba.db.makumba.Database
checkForeignKeys, close, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, deleteFrom, deleteFrom, deleteFrom, deleteFrom, finalize, findConfig, getConfiguration, getConfigurationProperties, getDBConnection, getDBConnection, getDbsv, getFieldNameInSource, getName, getNameResolver, getTable, getTable, getTypeNameInSource, initialiseTables, isAutoIncrement, makePseudoTable, openTable, openTables, usesHibernateIndexes
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HsqldbDatabase

public HsqldbDatabase(Properties p)
simply calls super

Method Detail

getJdbcUrl

protected String getJdbcUrl(Properties p)
Description copied from class: Database
builds a JDBC Connection URL given the host, sqlEngine and database properties

Overrides:
getJdbcUrl in class Database

isDuplicateException

public boolean isDuplicateException(SQLException e)
Description copied from class: Database
return whether the exception indicates a duplicate. may need to be specified differently for certain database engines

Overrides:
isDuplicateException in class Database

getLimitSyntax

public String getLimitSyntax()
Overrides:
getLimitSyntax in class Database

isLimitOffsetFirst

public boolean isLimitOffsetFirst()
Overrides:
isLimitOffsetFirst in class Database