public class PostgreSQLAdapter extends DBAdapter
DB adapter for PostgreSQL databases.DBAdapter.FieldInfo| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static String |
VERSION |
REGISTRY| Constructor and Description |
|---|
PostgreSQLAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCreateTable(IDBTable table,
Statement statement) |
int |
getMaxFieldNameLength() |
int |
getMaxTableNameLength() |
String[] |
getReservedWords() |
protected String |
getTypeName(IDBField field) |
boolean |
isColumnNotFoundException(SQLException ex)
See Appendix A.
|
boolean |
isDuplicateKeyException(SQLException ex)
See Appendix A.
|
boolean |
isTableNotFoundException(SQLException ex)
See Appendix A.
|
adaptType, addIndex, addIndexField, alterTable, appendFieldDefs, appendFieldNames, convertString, convertString, convertString, createConnectionProvider, createConstraints, createField, createFieldDefinition, createFieldDefinitions, createIndex, createIndex, createIndex, createIndexFields, createJDBCDataSource, createPrimaryKey, createTable, createTable, createTables, dropField, dropIndex, dropIndex, dropPrimaryKey, dropTable, dropTable, dropTables, format, format, getDefaultDBLength, getDropTableSQL, getFieldLength, getJDBCDriver, getName, getSQL92ReservedWords, getVersion, isPrimaryKeyShadow, isReservedWord, isTypeIndexable, isValidFirstChar, modifyConnection, readFields, readIndices, readIndices, readSchema, readSchema, readTables, sqlModifyField, sqlModifyField, sqlRenameField, toString, updateSchema, validateTablepublic static final String NAME
public static final String VERSION
public int getMaxTableNameLength()
getMaxTableNameLength in interface IDBAdaptergetMaxTableNameLength in class DBAdapterpublic int getMaxFieldNameLength()
getMaxFieldNameLength in interface IDBAdaptergetMaxFieldNameLength in class DBAdapterprotected String getTypeName(IDBField field)
getTypeName in class DBAdapterpublic String[] getReservedWords()
public boolean isDuplicateKeyException(SQLException ex)
isDuplicateKeyException in interface IDBAdapterisDuplicateKeyException in class DBAdapterpublic boolean isTableNotFoundException(SQLException ex)
isTableNotFoundException in interface IDBAdapterisTableNotFoundException in class DBAdapterpublic boolean isColumnNotFoundException(SQLException ex)
isColumnNotFoundException in interface IDBAdapterisColumnNotFoundException in class DBAdapterprotected void doCreateTable(IDBTable table, Statement statement) throws SQLException
doCreateTable in class DBAdapterSQLExceptionCopyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html