org.eclipse.net4j.db.h2
Class H2Adapter

java.lang.Object
  extended by org.eclipse.net4j.spi.db.DBAdapter
      extended by org.eclipse.net4j.db.h2.H2Adapter
All Implemented Interfaces:
IDBAdapter

public class H2Adapter
extends DBAdapter

Since:
2.0
Author:
Eike Stepper

Field Summary
static String VERSION
           
 
Fields inherited from interface org.eclipse.net4j.db.IDBAdapter
REGISTRY
 
Constructor Summary
H2Adapter()
           
 
Method Summary
 DataSource createJDBCDataSource()
           
 Driver getJDBCDriver()
           
 String[] getReservedWords()
           
protected  String getTypeName(IDBField field)
           
 
Methods inherited from class org.eclipse.net4j.spi.db.DBAdapter
adaptType, addIndexField, appendFieldNames, createConstraints, createFieldDefinition, createIndex, createTable, createTables, doCreateTable, dropTable, dropTables, getDropTableSQL, getMaxFieldNameLength, getMaxTableNameLength, getName, getSQL92ReservedWords, getVersion, isDuplicateKeyException, isReservedWord, isTypeIndexable, isValidFirstChar, toString, validateTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VERSION

public static final String VERSION
See Also:
Constant Field Values
Constructor Detail

H2Adapter

public H2Adapter()
Method Detail

getJDBCDriver

public Driver getJDBCDriver()

createJDBCDataSource

public DataSource createJDBCDataSource()

getTypeName

protected String getTypeName(IDBField field)
Overrides:
getTypeName in class DBAdapter

getReservedWords

public String[] getReservedWords()


Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.