org.sqlite.jdbc
Class JdbcDatabaseMetaData

java.lang.Object
  extended by org.sqlite.jdbc.JdbcDatabaseMetaData
All Implemented Interfaces:
java.sql.DatabaseMetaData

public class JdbcDatabaseMetaData
extends java.lang.Object
implements java.sql.DatabaseMetaData


Field Summary
 
Fields inherited from interface java.sql.DatabaseMetaData
attributeNoNulls, attributeNullable, attributeNullableUnknown, bestRowNotPseudo, bestRowPseudo, bestRowSession, bestRowTemporary, bestRowTransaction, bestRowUnknown, columnNoNulls, columnNullable, columnNullableUnknown, importedKeyCascade, importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, importedKeyNoAction, importedKeyNotDeferrable, importedKeyRestrict, importedKeySetDefault, importedKeySetNull, procedureColumnIn, procedureColumnInOut, procedureColumnOut, procedureColumnResult, procedureColumnReturn, procedureColumnUnknown, procedureNoNulls, procedureNoResult, procedureNullable, procedureNullableUnknown, procedureResultUnknown, procedureReturnsResult, sqlStateSQL99, sqlStateXOpen, tableIndexClustered, tableIndexHashed, tableIndexOther, tableIndexStatistic, typeNoNulls, typeNullable, typeNullableUnknown, typePredBasic, typePredChar, typePredNone, typeSearchable, versionColumnNotPseudo, versionColumnPseudo, versionColumnUnknown
 
Method Summary
 boolean allProceduresAreCallable()
          It always returns false.
 boolean allTablesAreSelectable()
          It always returns true.
 boolean dataDefinitionCausesTransactionCommit()
          It always returns false.
 boolean dataDefinitionIgnoredInTransactions()
          It always returns false.
 boolean deletesAreDetected(int type)
          It always returns false.
 boolean doesMaxRowSizeIncludeBlobs()
          It always returns true.
 java.sql.ResultSet getAttributes(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern, java.lang.String attributeNamePattern)
          Not suppoted yet.
 java.sql.ResultSet getBestRowIdentifier(java.lang.String catalog, java.lang.String schema, java.lang.String table, int scope, boolean nullable)
           
 java.sql.ResultSet getCatalogs()
          Catalog is not suppoted yet.
 java.lang.String getCatalogSeparator()
          Catalog is not supported yet.
 java.lang.String getCatalogTerm()
          Catalog is not supported yet.
static java.lang.String getColumnClassName(int columnType)
           
static int getColumnDisplaySize(int columnType)
           
 java.sql.ResultSet getColumnPrivileges(java.lang.String catalog, java.lang.String schema, java.lang.String table, java.lang.String columnNamePattern)
          Not suppoted yet.
 java.sql.ResultSet getColumns(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern, java.lang.String columnNamePattern)
           
static int getColumnType(int columnType)
           
 java.sql.Connection getConnection()
           
 java.sql.ResultSet getCrossReference(java.lang.String parentCatalog, java.lang.String parentSchema, java.lang.String parentTable, java.lang.String foreignCatalog, java.lang.String foreignSchema, java.lang.String foreignTable)
           
 java.util.List<DatabaseList> getDatabaseList()
          execute 'PRAGMA database_list' query.
 int getDatabaseMajorVersion()
          invoke sqlite3_libversion_number() function.
 int getDatabaseMinorVersion()
          invoke sqlite3_libversion_number() function.
 java.lang.String getDatabaseProductName()
          invoke org.sqlite.Database#getProductName() function.
 java.lang.String getDatabaseProductVersion()
          invoke sqlite3_libversion() function.
 int getDefaultTransactionIsolation()
          It always returns TRANSACTION_SERIALIZABLE.
 int getDriverMajorVersion()
          invoke org.sqlite.Driver#getDriverMajorVersion() function.
 int getDriverMinorVersion()
          invoke org.sqlite.Driver#getDriverMinorVersion() function.
 java.lang.String getDriverName()
          invoke org.sqlite.Driver#getDriverName() function.
 java.lang.String getDriverVersion()
          invoke org.sqlite.Driver#getDriverVersion() function.
 java.sql.ResultSet getExportedKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table)
           
 java.lang.String getExtraNameCharacters()
          It always returns empty string.
 java.util.List<ForeignKeyList> getForeignKeyList(java.lang.String tableName)
          execute 'PRAGMA foreign_key_list(table-name)' query.
 java.lang.String getIdentifierQuoteString()
           
 java.sql.ResultSet getImportedKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table)
           
 java.util.List<IndexInfo> getIndexInfo(java.lang.String indexName)
          execute 'PRAGMA index_info(index-name)' query.
 java.sql.ResultSet getIndexInfo(java.lang.String catalog, java.lang.String schema, java.lang.String table, boolean unique, boolean approximate)
           
 java.util.List<IndexList> getIndexList(java.lang.String tableName)
          execute 'PRAGMA index_list(table-name)' query.
 int getJDBCMajorVersion()
          It always returns 3.
 int getJDBCMinorVersion()
          It always returns 0.
 int getMaxBinaryLiteralLength()
          It always returns 0.
 int getMaxCatalogNameLength()
          Catalog is not supported yet.
 int getMaxCharLiteralLength()
          It always returns 0.
 int getMaxColumnNameLength()
          It always returns 0.
 int getMaxColumnsInGroupBy()
          It always returns 0.
 int getMaxColumnsInIndex()
          It always returns 0.
 int getMaxColumnsInOrderBy()
          It always returns 0.
 int getMaxColumnsInSelect()
          It always returns 0.
 int getMaxColumnsInTable()
          It always returns 0.
 int getMaxConnections()
          It always returns 0.
 int getMaxCursorNameLength()
          Cursor is not supported yet.
 int getMaxIndexLength()
          It always returns 0.
 int getMaxProcedureNameLength()
          Procedure is not supported yet.
 int getMaxRowSize()
          It always returns 0.
 int getMaxSchemaNameLength()
          Schema name is not supported yet.
 int getMaxStatementLength()
          It always returns 0.
 int getMaxStatements()
          It always returns 0.
 int getMaxTableNameLength()
          It always returns 0.
 int getMaxTablesInSelect()
          It always returns 64.
 int getMaxUserNameLength()
          User name is not supported yet.
 java.lang.String getNumericFunctions()
          It always returns empty string.
static int getPrecision(int columnType)
           
 java.sql.ResultSet getPrimaryKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table)
           
 java.sql.ResultSet getProcedureColumns(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String procedureNamePattern, java.lang.String columnNamePattern)
          Procedure is not suppoted yet.
 java.sql.ResultSet getProcedures(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String procedureNamePattern)
          Procedure is not suppoted yet.
 java.lang.String getProcedureTerm()
          Procedure is not supported yet.
static int getRadix(int columnType)
           
 int getResultSetHoldability()
          It always returns CLOSE_CURSORS_AT_COMMIT.
static int getScale(int columnType)
           
 java.sql.ResultSet getSchemas()
          Retrieves th open database list.
 java.lang.String getSchemaTerm()
          Schema is not supported yet.
 java.lang.String getSearchStringEscape()
          Escape charactor is NOTHING.
 java.lang.String getSQLKeywords()
          It always returns empty string.
 int getSQLStateType()
          It always returns sqlStateSQL99.
 java.lang.String getStringFunctions()
          It always returns empty string.
 java.sql.ResultSet getSuperTables(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern)
          Not suppoted yet.
 java.sql.ResultSet getSuperTypes(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern)
          Not suppoted yet.
 java.lang.String getSystemFunctions()
          It always returns empty string.
 java.util.List<TableInfo> getTableInfo(java.lang.String tableName)
          execute 'PRAGMA table_info(table-name)' query.
 java.sql.ResultSet getTablePrivileges(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern)
          Not suppoted yet.
 java.sql.ResultSet getTables(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern, java.lang.String[] types)
           
 java.sql.ResultSet getTableTypes()
          It always returns "TABLE" and "VIEW".
 java.lang.String getTimeDateFunctions()
           
 java.sql.ResultSet getTypeInfo()
           
 java.sql.ResultSet getUDTs(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern, int[] types)
          UDT is not supported yet.
 java.lang.String getURL()
          Retrieves the URL for this DBMS.
 java.lang.String getUserName()
          It always returns null.
 java.sql.ResultSet getVersionColumns(java.lang.String catalog, java.lang.String schema, java.lang.String table)
          Not suppoted yet.
 boolean insertsAreDetected(int type)
          It always returns false.
 boolean isCatalogAtStart()
          Catalog is not supported yet.
 boolean isReadOnly()
          invoke JdbcConnection#isReadOnly() method.
static boolean isSigned(int columnType)
           
 boolean locatorsUpdateCopy()
          It always returns false.
 boolean nullPlusNonNullIsNull()
          It always returns true.
 boolean nullsAreSortedAtEnd()
          It always returns false.
 boolean nullsAreSortedAtStart()
          It always returns false.
 boolean nullsAreSortedHigh()
          It always returns false.
 boolean nullsAreSortedLow()
          It always returns true.
 boolean othersDeletesAreVisible(int type)
          It always returns false.
 boolean othersInsertsAreVisible(int type)
          It always returns false.
 boolean othersUpdatesAreVisible(int type)
          It always returns false.
 boolean ownDeletesAreVisible(int type)
          It always returns false.
 boolean ownInsertsAreVisible(int type)
          It always returns false.
 boolean ownUpdatesAreVisible(int type)
          It always returns false.
 boolean storesLowerCaseIdentifiers()
          It always returns false.
 boolean storesLowerCaseQuotedIdentifiers()
          It always returns false.
 boolean storesMixedCaseIdentifiers()
          It always returns true.
 boolean storesMixedCaseQuotedIdentifiers()
          It always returns true.
 boolean storesUpperCaseIdentifiers()
          It always returns false.
 boolean storesUpperCaseQuotedIdentifiers()
          It always returns false.
 boolean supportsAlterTableWithAddColumn()
          Supported by SQLite 3.0.0 or later.
 boolean supportsAlterTableWithDropColumn()
          It always returns false.
 boolean supportsANSI92EntryLevelSQL()
          It always returns true.
 boolean supportsANSI92FullSQL()
          It always returns false.
 boolean supportsANSI92IntermediateSQL()
          It always returns false.
 boolean supportsBatchUpdates()
          It always returns true.
 boolean supportsCatalogsInDataManipulation()
          It always returns false.
 boolean supportsCatalogsInIndexDefinitions()
          It always returns false.
 boolean supportsCatalogsInPrivilegeDefinitions()
          It always returns false.
 boolean supportsCatalogsInProcedureCalls()
          It always returns false.
 boolean supportsCatalogsInTableDefinitions()
          It always returns false.
 boolean supportsColumnAliasing()
          It always returns true.
 boolean supportsConvert()
          It always returns false.
 boolean supportsConvert(int fromType, int toType)
          It always returns false.
 boolean supportsCoreSQLGrammar()
          It always returns false.
 boolean supportsCorrelatedSubqueries()
          It always returns true.
 boolean supportsDataDefinitionAndDataManipulationTransactions()
          It always returns true.
 boolean supportsDataManipulationTransactionsOnly()
          It always returns false.
 boolean supportsDifferentTableCorrelationNames()
          It always returns false.
 boolean supportsExpressionsInOrderBy()
          It always returns true.
 boolean supportsExtendedSQLGrammar()
          It always returns false.
 boolean supportsFullOuterJoins()
          It always returns false.
 boolean supportsGetGeneratedKeys()
          Supported by sqlite3_last_insert_rowid() function.
 boolean supportsGroupBy()
          It always returns true.
 boolean supportsGroupByBeyondSelect()
          It always returns true.
 boolean supportsGroupByUnrelated()
          It always returns true.
 boolean supportsIntegrityEnhancementFacility()
          It always returns false.
 boolean supportsLikeEscapeClause()
          It always returns true.
 boolean supportsLimitedOuterJoins()
          It always returns true.
 boolean supportsMinimumSQLGrammar()
          It always returns false.
 boolean supportsMixedCaseIdentifiers()
          It always returns false.
 boolean supportsMixedCaseQuotedIdentifiers()
          It always returns false.
 boolean supportsMultipleOpenResults()
          CallableStatement is not supported yet.
 boolean supportsMultipleResultSets()
          It always returns true.
 boolean supportsMultipleTransactions()
          It always returns true.
 boolean supportsNamedParameters()
          It always returns true.
 boolean supportsNonNullableColumns()
          It always returns true.
 boolean supportsOpenCursorsAcrossCommit()
          It always returns false.
 boolean supportsOpenCursorsAcrossRollback()
          It always returns false.
 boolean supportsOpenStatementsAcrossCommit()
          It always returns false.
 boolean supportsOpenStatementsAcrossRollback()
          It always returns false.
 boolean supportsOrderByUnrelated()
          It always returns true.
 boolean supportsOuterJoins()
          It always returns true.
 boolean supportsPositionedDelete()
          It always returns false.
 boolean supportsPositionedUpdate()
          It always returns false.
 boolean supportsResultSetConcurrency(int type, int concurrency)
          Supported type is ResultSet.TYPE_FORWARD_ONLY and concurrency is ResultSet.CONCUR_READ_ONLY only.
 boolean supportsResultSetHoldability(int holdability)
          It always returns false.
 boolean supportsResultSetType(int type)
          Supported type is ResultSet.TYPE_FORWARD_ONLY only.
 boolean supportsSavepoints()
          It always returns false.
 boolean supportsSchemasInDataManipulation()
          It always returns false.
 boolean supportsSchemasInIndexDefinitions()
          It always returns false.
 boolean supportsSchemasInPrivilegeDefinitions()
          It always returns false.
 boolean supportsSchemasInProcedureCalls()
          It always returns false.
 boolean supportsSchemasInTableDefinitions()
          It always returns false.
 boolean supportsSelectForUpdate()
          It always returns false.
 boolean supportsStatementPooling()
          It always returns false.
 boolean supportsStoredProcedures()
          It always returns false.
 boolean supportsSubqueriesInComparisons()
          It always returns true.
 boolean supportsSubqueriesInExists()
          It always returns true.
 boolean supportsSubqueriesInIns()
          It always returns true.
 boolean supportsSubqueriesInQuantifieds()
          It always returns false.
 boolean supportsTableCorrelationNames()
          It always returns true.
 boolean supportsTransactionIsolationLevel(int level)
           
 boolean supportsTransactions()
          It always returns true.
 boolean supportsUnion()
          It always returns true.
 boolean supportsUnionAll()
          It always returns true.
 boolean updatesAreDetected(int type)
          It always returns false.
 boolean usesLocalFilePerTable()
          It always returns false.
 boolean usesLocalFiles()
          false is returned for the in-memory database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

allProceduresAreCallable

public boolean allProceduresAreCallable()
                                 throws java.sql.SQLException
It always returns false.

Specified by:
allProceduresAreCallable in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

allTablesAreSelectable

public boolean allTablesAreSelectable()
                               throws java.sql.SQLException
It always returns true.

Specified by:
allTablesAreSelectable in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

getURL

public java.lang.String getURL()
                        throws java.sql.SQLException
Retrieves the URL for this DBMS.

Specified by:
getURL in interface java.sql.DatabaseMetaData
Returns:
the URL for this DBMS.
Throws:
java.sql.SQLException - SQLException is not generated.

getUserName

public java.lang.String getUserName()
                             throws java.sql.SQLException
It always returns null.

Specified by:
getUserName in interface java.sql.DatabaseMetaData
Returns:
null
Throws:
java.sql.SQLException - SQLException is not generated.

isReadOnly

public boolean isReadOnly()
                   throws java.sql.SQLException
invoke JdbcConnection#isReadOnly() method.

Specified by:
isReadOnly in interface java.sql.DatabaseMetaData
Returns:
Returs the value of JdbcConnection#isReadOnly()
Throws:
java.sql.SQLException
See Also:
JdbcConnection.isReadOnly()

nullsAreSortedHigh

public boolean nullsAreSortedHigh()
                           throws java.sql.SQLException
It always returns false.

Specified by:
nullsAreSortedHigh in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

nullsAreSortedLow

public boolean nullsAreSortedLow()
                          throws java.sql.SQLException
It always returns true.

Specified by:
nullsAreSortedLow in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

nullsAreSortedAtStart

public boolean nullsAreSortedAtStart()
                              throws java.sql.SQLException
It always returns false.

Specified by:
nullsAreSortedAtStart in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

nullsAreSortedAtEnd

public boolean nullsAreSortedAtEnd()
                            throws java.sql.SQLException
It always returns false.

Specified by:
nullsAreSortedAtEnd in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

getDatabaseProductName

public java.lang.String getDatabaseProductName()
                                        throws java.sql.SQLException
invoke org.sqlite.Database#getProductName() function.

Specified by:
getDatabaseProductName in interface java.sql.DatabaseMetaData
Returns:
Returns the value of sqlite3_libversion()
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
Database.getProductName()

getDatabaseProductVersion

public java.lang.String getDatabaseProductVersion()
                                           throws java.sql.SQLException
invoke sqlite3_libversion() function.

Specified by:
getDatabaseProductVersion in interface java.sql.DatabaseMetaData
Returns:
Returns the value of sqlite3_libversion()
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
Run-Time Library Version Numbers

getDriverName

public java.lang.String getDriverName()
                               throws java.sql.SQLException
invoke org.sqlite.Driver#getDriverName() function.

Specified by:
getDriverName in interface java.sql.DatabaseMetaData
Returns:
Returns the value of org.sqlite.Driver#getDriverName()
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
Driver.getDriverName()

getDriverVersion

public java.lang.String getDriverVersion()
                                  throws java.sql.SQLException
invoke org.sqlite.Driver#getDriverVersion() function.

Specified by:
getDriverVersion in interface java.sql.DatabaseMetaData
Returns:
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
Driver.getDriverVersion()

getDriverMajorVersion

public int getDriverMajorVersion()
invoke org.sqlite.Driver#getDriverMajorVersion() function.

Specified by:
getDriverMajorVersion in interface java.sql.DatabaseMetaData
Returns:
Returns the value of org.sqlite.Driver#getDriverMajorVersion()
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
Driver.getDriverMajorVersion()

getDriverMinorVersion

public int getDriverMinorVersion()
invoke org.sqlite.Driver#getDriverMinorVersion() function.

Specified by:
getDriverMinorVersion in interface java.sql.DatabaseMetaData
Returns:
Returns the value of org.sqlite.Driver#getDriverMinorVersion()
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
Driver.getDriverMinorVersion()

usesLocalFiles

public boolean usesLocalFiles()
                       throws java.sql.SQLException
false is returned for the in-memory database.

Specified by:
usesLocalFiles in interface java.sql.DatabaseMetaData
Returns:
false is returned for the in-memory database.
Throws:
java.sql.SQLException
See Also:
Database.isInMemoryMode()

usesLocalFilePerTable

public boolean usesLocalFilePerTable()
                              throws java.sql.SQLException
It always returns false.

Specified by:
usesLocalFilePerTable in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsMixedCaseIdentifiers

public boolean supportsMixedCaseIdentifiers()
                                     throws java.sql.SQLException
It always returns false.

Specified by:
supportsMixedCaseIdentifiers in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

storesUpperCaseIdentifiers

public boolean storesUpperCaseIdentifiers()
                                   throws java.sql.SQLException
It always returns false.

Specified by:
storesUpperCaseIdentifiers in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

storesLowerCaseIdentifiers

public boolean storesLowerCaseIdentifiers()
                                   throws java.sql.SQLException
It always returns false.

Specified by:
storesLowerCaseIdentifiers in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

storesMixedCaseIdentifiers

public boolean storesMixedCaseIdentifiers()
                                   throws java.sql.SQLException
It always returns true.

Specified by:
storesMixedCaseIdentifiers in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsMixedCaseQuotedIdentifiers

public boolean supportsMixedCaseQuotedIdentifiers()
                                           throws java.sql.SQLException
It always returns false.

Specified by:
supportsMixedCaseQuotedIdentifiers in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

storesUpperCaseQuotedIdentifiers

public boolean storesUpperCaseQuotedIdentifiers()
                                         throws java.sql.SQLException
It always returns false.

Specified by:
storesUpperCaseQuotedIdentifiers in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

storesLowerCaseQuotedIdentifiers

public boolean storesLowerCaseQuotedIdentifiers()
                                         throws java.sql.SQLException
It always returns false.

Specified by:
storesLowerCaseQuotedIdentifiers in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

storesMixedCaseQuotedIdentifiers

public boolean storesMixedCaseQuotedIdentifiers()
                                         throws java.sql.SQLException
It always returns true.

Specified by:
storesMixedCaseQuotedIdentifiers in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

getIdentifierQuoteString

public java.lang.String getIdentifierQuoteString()
                                          throws java.sql.SQLException
Specified by:
getIdentifierQuoteString in interface java.sql.DatabaseMetaData
Returns:
double quotes (")
Throws:
java.sql.SQLException - SQLException is not generated.

getSQLKeywords

public java.lang.String getSQLKeywords()
                                throws java.sql.SQLException
It always returns empty string.

Specified by:
getSQLKeywords in interface java.sql.DatabaseMetaData
Returns:
empty string
Throws:
java.sql.SQLException - SQLException is not generated.

getNumericFunctions

public java.lang.String getNumericFunctions()
                                     throws java.sql.SQLException
It always returns empty string.

Specified by:
getNumericFunctions in interface java.sql.DatabaseMetaData
Returns:
empty string
Throws:
java.sql.SQLException - SQLException is not generated.

getStringFunctions

public java.lang.String getStringFunctions()
                                    throws java.sql.SQLException
It always returns empty string.

Specified by:
getStringFunctions in interface java.sql.DatabaseMetaData
Returns:
empty string
Throws:
java.sql.SQLException - SQLException is not generated.

getSystemFunctions

public java.lang.String getSystemFunctions()
                                    throws java.sql.SQLException
It always returns empty string.

Specified by:
getSystemFunctions in interface java.sql.DatabaseMetaData
Returns:
empty string
Throws:
java.sql.SQLException - SQLException is not generated.

getTimeDateFunctions

public java.lang.String getTimeDateFunctions()
                                      throws java.sql.SQLException
Specified by:
getTimeDateFunctions in interface java.sql.DatabaseMetaData
Returns:
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
Date And Time Functions

getSearchStringEscape

public java.lang.String getSearchStringEscape()
                                       throws java.sql.SQLException
Escape charactor is NOTHING. It always returns null.

Specified by:
getSearchStringEscape in interface java.sql.DatabaseMetaData
Returns:
null
Throws:
java.sql.SQLException - SQLException is not generated.

getExtraNameCharacters

public java.lang.String getExtraNameCharacters()
                                        throws java.sql.SQLException
It always returns empty string.

Specified by:
getExtraNameCharacters in interface java.sql.DatabaseMetaData
Returns:
empty string
Throws:
java.sql.SQLException - SQLException is not generated.

supportsAlterTableWithAddColumn

public boolean supportsAlterTableWithAddColumn()
                                        throws java.sql.SQLException
Supported by SQLite 3.0.0 or later. It always returns true.

Specified by:
supportsAlterTableWithAddColumn in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsAlterTableWithDropColumn

public boolean supportsAlterTableWithDropColumn()
                                         throws java.sql.SQLException
It always returns false.

Specified by:
supportsAlterTableWithDropColumn in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsColumnAliasing

public boolean supportsColumnAliasing()
                               throws java.sql.SQLException
It always returns true.

Specified by:
supportsColumnAliasing in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

nullPlusNonNullIsNull

public boolean nullPlusNonNullIsNull()
                              throws java.sql.SQLException
It always returns true.

Specified by:
nullPlusNonNullIsNull in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsConvert

public boolean supportsConvert()
                        throws java.sql.SQLException
It always returns false.

Specified by:
supportsConvert in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsConvert

public boolean supportsConvert(int fromType,
                               int toType)
                        throws java.sql.SQLException
It always returns false.

Specified by:
supportsConvert in interface java.sql.DatabaseMetaData
Parameters:
fromType - ignored
toType - ignored
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsTableCorrelationNames

public boolean supportsTableCorrelationNames()
                                      throws java.sql.SQLException
It always returns true.

Specified by:
supportsTableCorrelationNames in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsDifferentTableCorrelationNames

public boolean supportsDifferentTableCorrelationNames()
                                               throws java.sql.SQLException
It always returns false.

Specified by:
supportsDifferentTableCorrelationNames in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsExpressionsInOrderBy

public boolean supportsExpressionsInOrderBy()
                                     throws java.sql.SQLException
It always returns true.

Specified by:
supportsExpressionsInOrderBy in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsOrderByUnrelated

public boolean supportsOrderByUnrelated()
                                 throws java.sql.SQLException
It always returns true.

Specified by:
supportsOrderByUnrelated in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsGroupBy

public boolean supportsGroupBy()
                        throws java.sql.SQLException
It always returns true.

Specified by:
supportsGroupBy in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsGroupByUnrelated

public boolean supportsGroupByUnrelated()
                                 throws java.sql.SQLException
It always returns true.

Specified by:
supportsGroupByUnrelated in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsGroupByBeyondSelect

public boolean supportsGroupByBeyondSelect()
                                    throws java.sql.SQLException
It always returns true.

Specified by:
supportsGroupByBeyondSelect in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsLikeEscapeClause

public boolean supportsLikeEscapeClause()
                                 throws java.sql.SQLException
It always returns true.

Specified by:
supportsLikeEscapeClause in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsMultipleResultSets

public boolean supportsMultipleResultSets()
                                   throws java.sql.SQLException
It always returns true.

Specified by:
supportsMultipleResultSets in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
JdbcStatement.execute(String), JdbcStatement.getMoreResults(), JdbcStatement.getMoreResults(int)

supportsMultipleTransactions

public boolean supportsMultipleTransactions()
                                     throws java.sql.SQLException
It always returns true.

Specified by:
supportsMultipleTransactions in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsNonNullableColumns

public boolean supportsNonNullableColumns()
                                   throws java.sql.SQLException
It always returns true.

Specified by:
supportsNonNullableColumns in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsMinimumSQLGrammar

public boolean supportsMinimumSQLGrammar()
                                  throws java.sql.SQLException
It always returns false.

Specified by:
supportsMinimumSQLGrammar in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsCoreSQLGrammar

public boolean supportsCoreSQLGrammar()
                               throws java.sql.SQLException
It always returns false.

Specified by:
supportsCoreSQLGrammar in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsExtendedSQLGrammar

public boolean supportsExtendedSQLGrammar()
                                   throws java.sql.SQLException
It always returns false.

Specified by:
supportsExtendedSQLGrammar in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsANSI92EntryLevelSQL

public boolean supportsANSI92EntryLevelSQL()
                                    throws java.sql.SQLException
It always returns true.

Specified by:
supportsANSI92EntryLevelSQL in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
sqlite - Unsupported Sql

supportsANSI92IntermediateSQL

public boolean supportsANSI92IntermediateSQL()
                                      throws java.sql.SQLException
It always returns false.

Specified by:
supportsANSI92IntermediateSQL in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
sqlite - Unsupported Sql

supportsANSI92FullSQL

public boolean supportsANSI92FullSQL()
                              throws java.sql.SQLException
It always returns false.

Specified by:
supportsANSI92FullSQL in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
sqlite - Unsupported Sql

supportsIntegrityEnhancementFacility

public boolean supportsIntegrityEnhancementFacility()
                                             throws java.sql.SQLException
It always returns false.

Specified by:
supportsIntegrityEnhancementFacility in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsOuterJoins

public boolean supportsOuterJoins()
                           throws java.sql.SQLException
It always returns true.

Specified by:
supportsOuterJoins in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsFullOuterJoins

public boolean supportsFullOuterJoins()
                               throws java.sql.SQLException
It always returns false.

Specified by:
supportsFullOuterJoins in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsLimitedOuterJoins

public boolean supportsLimitedOuterJoins()
                                  throws java.sql.SQLException
It always returns true.

Specified by:
supportsLimitedOuterJoins in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

getSchemaTerm

public java.lang.String getSchemaTerm()
                               throws java.sql.SQLException
Schema is not supported yet. It always returns null.

Specified by:
getSchemaTerm in interface java.sql.DatabaseMetaData
Returns:
null
Throws:
java.sql.SQLException - SQLException is not generated.

getProcedureTerm

public java.lang.String getProcedureTerm()
                                  throws java.sql.SQLException
Procedure is not supported yet. It always returns null.

Specified by:
getProcedureTerm in interface java.sql.DatabaseMetaData
Returns:
null
Throws:
java.sql.SQLException - SQLException is not generated.

getCatalogTerm

public java.lang.String getCatalogTerm()
                                throws java.sql.SQLException
Catalog is not supported yet. It always returns null.

Specified by:
getCatalogTerm in interface java.sql.DatabaseMetaData
Returns:
null
Throws:
java.sql.SQLException - SQLException is not generated.

isCatalogAtStart

public boolean isCatalogAtStart()
                         throws java.sql.SQLException
Catalog is not supported yet. It always returns false.

Specified by:
isCatalogAtStart in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

getCatalogSeparator

public java.lang.String getCatalogSeparator()
                                     throws java.sql.SQLException
Catalog is not supported yet. It always returns null.

Specified by:
getCatalogSeparator in interface java.sql.DatabaseMetaData
Returns:
null
Throws:
java.sql.SQLException - SQLException is not generated.

supportsSchemasInDataManipulation

public boolean supportsSchemasInDataManipulation()
                                          throws java.sql.SQLException
It always returns false.

Specified by:
supportsSchemasInDataManipulation in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsSchemasInProcedureCalls

public boolean supportsSchemasInProcedureCalls()
                                        throws java.sql.SQLException
It always returns false.

Specified by:
supportsSchemasInProcedureCalls in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsSchemasInTableDefinitions

public boolean supportsSchemasInTableDefinitions()
                                          throws java.sql.SQLException
It always returns false.

Specified by:
supportsSchemasInTableDefinitions in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsSchemasInIndexDefinitions

public boolean supportsSchemasInIndexDefinitions()
                                          throws java.sql.SQLException
It always returns false.

Specified by:
supportsSchemasInIndexDefinitions in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsSchemasInPrivilegeDefinitions

public boolean supportsSchemasInPrivilegeDefinitions()
                                              throws java.sql.SQLException
It always returns false.

Specified by:
supportsSchemasInPrivilegeDefinitions in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsCatalogsInDataManipulation

public boolean supportsCatalogsInDataManipulation()
                                           throws java.sql.SQLException
It always returns false.

Specified by:
supportsCatalogsInDataManipulation in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsCatalogsInProcedureCalls

public boolean supportsCatalogsInProcedureCalls()
                                         throws java.sql.SQLException
It always returns false.

Specified by:
supportsCatalogsInProcedureCalls in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsCatalogsInTableDefinitions

public boolean supportsCatalogsInTableDefinitions()
                                           throws java.sql.SQLException
It always returns false.

Specified by:
supportsCatalogsInTableDefinitions in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsCatalogsInIndexDefinitions

public boolean supportsCatalogsInIndexDefinitions()
                                           throws java.sql.SQLException
It always returns false.

Specified by:
supportsCatalogsInIndexDefinitions in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsCatalogsInPrivilegeDefinitions

public boolean supportsCatalogsInPrivilegeDefinitions()
                                               throws java.sql.SQLException
It always returns false.

Specified by:
supportsCatalogsInPrivilegeDefinitions in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsPositionedDelete

public boolean supportsPositionedDelete()
                                 throws java.sql.SQLException
It always returns false.

Specified by:
supportsPositionedDelete in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsPositionedUpdate

public boolean supportsPositionedUpdate()
                                 throws java.sql.SQLException
It always returns false.

Specified by:
supportsPositionedUpdate in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsSelectForUpdate

public boolean supportsSelectForUpdate()
                                throws java.sql.SQLException
It always returns false.

Specified by:
supportsSelectForUpdate in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsStoredProcedures

public boolean supportsStoredProcedures()
                                 throws java.sql.SQLException
It always returns false.

Specified by:
supportsStoredProcedures in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsSubqueriesInComparisons

public boolean supportsSubqueriesInComparisons()
                                        throws java.sql.SQLException
It always returns true.

Specified by:
supportsSubqueriesInComparisons in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsSubqueriesInExists

public boolean supportsSubqueriesInExists()
                                   throws java.sql.SQLException
It always returns true.

Specified by:
supportsSubqueriesInExists in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsSubqueriesInIns

public boolean supportsSubqueriesInIns()
                                throws java.sql.SQLException
It always returns true.

Specified by:
supportsSubqueriesInIns in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsSubqueriesInQuantifieds

public boolean supportsSubqueriesInQuantifieds()
                                        throws java.sql.SQLException
It always returns false.

Specified by:
supportsSubqueriesInQuantifieds in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsCorrelatedSubqueries

public boolean supportsCorrelatedSubqueries()
                                     throws java.sql.SQLException
It always returns true.

Specified by:
supportsCorrelatedSubqueries in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsUnion

public boolean supportsUnion()
                      throws java.sql.SQLException
It always returns true.

Specified by:
supportsUnion in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsUnionAll

public boolean supportsUnionAll()
                         throws java.sql.SQLException
It always returns true.

Specified by:
supportsUnionAll in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsOpenCursorsAcrossCommit

public boolean supportsOpenCursorsAcrossCommit()
                                        throws java.sql.SQLException
It always returns false.

Specified by:
supportsOpenCursorsAcrossCommit in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsOpenCursorsAcrossRollback

public boolean supportsOpenCursorsAcrossRollback()
                                          throws java.sql.SQLException
It always returns false.

Specified by:
supportsOpenCursorsAcrossRollback in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsOpenStatementsAcrossCommit

public boolean supportsOpenStatementsAcrossCommit()
                                           throws java.sql.SQLException
It always returns false.

Specified by:
supportsOpenStatementsAcrossCommit in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsOpenStatementsAcrossRollback

public boolean supportsOpenStatementsAcrossRollback()
                                             throws java.sql.SQLException
It always returns false.

Specified by:
supportsOpenStatementsAcrossRollback in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxBinaryLiteralLength

public int getMaxBinaryLiteralLength()
                              throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxBinaryLiteralLength in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxCharLiteralLength

public int getMaxCharLiteralLength()
                            throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxCharLiteralLength in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxColumnNameLength

public int getMaxColumnNameLength()
                           throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxColumnNameLength in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxColumnsInGroupBy

public int getMaxColumnsInGroupBy()
                           throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxColumnsInGroupBy in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxColumnsInIndex

public int getMaxColumnsInIndex()
                         throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxColumnsInIndex in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxColumnsInOrderBy

public int getMaxColumnsInOrderBy()
                           throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxColumnsInOrderBy in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxColumnsInSelect

public int getMaxColumnsInSelect()
                          throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxColumnsInSelect in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxColumnsInTable

public int getMaxColumnsInTable()
                         throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxColumnsInTable in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxConnections

public int getMaxConnections()
                      throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxConnections in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxCursorNameLength

public int getMaxCursorNameLength()
                           throws java.sql.SQLException
Cursor is not supported yet. It always returns 0.

Specified by:
getMaxCursorNameLength in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxIndexLength

public int getMaxIndexLength()
                      throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxIndexLength in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxSchemaNameLength

public int getMaxSchemaNameLength()
                           throws java.sql.SQLException
Schema name is not supported yet. It always returns 0.

Specified by:
getMaxSchemaNameLength in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxProcedureNameLength

public int getMaxProcedureNameLength()
                              throws java.sql.SQLException
Procedure is not supported yet. It always returns 0.

Specified by:
getMaxProcedureNameLength in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxCatalogNameLength

public int getMaxCatalogNameLength()
                            throws java.sql.SQLException
Catalog is not supported yet. It always returns 0.

Specified by:
getMaxCatalogNameLength in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxRowSize

public int getMaxRowSize()
                  throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxRowSize in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

doesMaxRowSizeIncludeBlobs

public boolean doesMaxRowSizeIncludeBlobs()
                                   throws java.sql.SQLException
It always returns true.

Specified by:
doesMaxRowSizeIncludeBlobs in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxStatementLength

public int getMaxStatementLength()
                          throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxStatementLength in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxStatements

public int getMaxStatements()
                     throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxStatements in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxTableNameLength

public int getMaxTableNameLength()
                          throws java.sql.SQLException
It always returns 0.

Specified by:
getMaxTableNameLength in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getMaxTablesInSelect

public int getMaxTablesInSelect()
                         throws java.sql.SQLException
It always returns 64.

Specified by:
getMaxTablesInSelect in interface java.sql.DatabaseMetaData
Returns:
64
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
Maximum Number Of Tables In A Join

getMaxUserNameLength

public int getMaxUserNameLength()
                         throws java.sql.SQLException
User name is not supported yet. It always returns 0.

Specified by:
getMaxUserNameLength in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getDefaultTransactionIsolation

public int getDefaultTransactionIsolation()
                                   throws java.sql.SQLException
It always returns TRANSACTION_SERIALIZABLE.

Specified by:
getDefaultTransactionIsolation in interface java.sql.DatabaseMetaData
Returns:
java.sql.Connection.TRANSACTION_SERIALIZABLE
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
PRAGMA read_uncommitted

supportsTransactions

public boolean supportsTransactions()
                             throws java.sql.SQLException
It always returns true.

Specified by:
supportsTransactions in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsTransactionIsolationLevel

public boolean supportsTransactionIsolationLevel(int level)
                                          throws java.sql.SQLException
Specified by:
supportsTransactionIsolationLevel in interface java.sql.DatabaseMetaData
Parameters:
level -
Returns:
true if level is java.sql.Connection.TRANSACTION_SERIALIZABLE.
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
Pragma statements supported by SQLite:

supportsDataDefinitionAndDataManipulationTransactions

public boolean supportsDataDefinitionAndDataManipulationTransactions()
                                                              throws java.sql.SQLException
It always returns true.

Specified by:
supportsDataDefinitionAndDataManipulationTransactions in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsDataManipulationTransactionsOnly

public boolean supportsDataManipulationTransactionsOnly()
                                                 throws java.sql.SQLException
It always returns false.

Specified by:
supportsDataManipulationTransactionsOnly in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

dataDefinitionCausesTransactionCommit

public boolean dataDefinitionCausesTransactionCommit()
                                              throws java.sql.SQLException
It always returns false.

Specified by:
dataDefinitionCausesTransactionCommit in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

dataDefinitionIgnoredInTransactions

public boolean dataDefinitionIgnoredInTransactions()
                                            throws java.sql.SQLException
It always returns false.

Specified by:
dataDefinitionIgnoredInTransactions in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

getProcedures

public java.sql.ResultSet getProcedures(java.lang.String catalog,
                                        java.lang.String schemaPattern,
                                        java.lang.String procedureNamePattern)
                                 throws java.sql.SQLException
Procedure is not suppoted yet. It always returns empty ResultSet.

Specified by:
getProcedures in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schemaPattern - ignored
procedureNamePattern - ignored
Returns:
empty ResultSet
Throws:
java.sql.SQLException

getProcedureColumns

public java.sql.ResultSet getProcedureColumns(java.lang.String catalog,
                                              java.lang.String schemaPattern,
                                              java.lang.String procedureNamePattern,
                                              java.lang.String columnNamePattern)
                                       throws java.sql.SQLException
Procedure is not suppoted yet. It always returns empty ResultSet.

Specified by:
getProcedureColumns in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schemaPattern - ignored
procedureNamePattern - ignored
Returns:
empty ResultSet
Throws:
java.sql.SQLException

getTables

public java.sql.ResultSet getTables(java.lang.String catalog,
                                    java.lang.String schemaPattern,
                                    java.lang.String tableNamePattern,
                                    java.lang.String[] types)
                             throws java.sql.SQLException
Specified by:
getTables in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schemaPattern - ignored
tableNamePattern -
types -
Returns:
Throws:
java.sql.SQLException

getSchemas

public java.sql.ResultSet getSchemas()
                              throws java.sql.SQLException
Retrieves th open database list.

Specified by:
getSchemas in interface java.sql.DatabaseMetaData
Returns:
Throws:
java.sql.SQLException

getCatalogs

public java.sql.ResultSet getCatalogs()
                               throws java.sql.SQLException
Catalog is not suppoted yet. It always returns empty ResultSet.

Specified by:
getCatalogs in interface java.sql.DatabaseMetaData
Returns:
empty ResultSet
Throws:
java.sql.SQLException

getTableTypes

public java.sql.ResultSet getTableTypes()
                                 throws java.sql.SQLException
It always returns "TABLE" and "VIEW".

Specified by:
getTableTypes in interface java.sql.DatabaseMetaData
Returns:
"TABLE" and "VIEW"
Throws:
java.sql.SQLException

getColumns

public java.sql.ResultSet getColumns(java.lang.String catalog,
                                     java.lang.String schemaPattern,
                                     java.lang.String tableNamePattern,
                                     java.lang.String columnNamePattern)
                              throws java.sql.SQLException
Specified by:
getColumns in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schemaPattern - ignored
tableNamePattern -
columnNamePattern -
Returns:
Throws:
java.sql.SQLException

getColumnPrivileges

public java.sql.ResultSet getColumnPrivileges(java.lang.String catalog,
                                              java.lang.String schema,
                                              java.lang.String table,
                                              java.lang.String columnNamePattern)
                                       throws java.sql.SQLException
Not suppoted yet. It always returns empty ResultSet.

Specified by:
getColumnPrivileges in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schema - ignored
table - ignored
columnNamePattern - ignored
Returns:
empty ResultSet
Throws:
java.sql.SQLException

getTablePrivileges

public java.sql.ResultSet getTablePrivileges(java.lang.String catalog,
                                             java.lang.String schemaPattern,
                                             java.lang.String tableNamePattern)
                                      throws java.sql.SQLException
Not suppoted yet. It always returns empty ResultSet.

Specified by:
getTablePrivileges in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schemaPattern - ignored
tableNamePattern - ignored
Returns:
empty ResultSet
Throws:
java.sql.SQLException

getBestRowIdentifier

public java.sql.ResultSet getBestRowIdentifier(java.lang.String catalog,
                                               java.lang.String schema,
                                               java.lang.String table,
                                               int scope,
                                               boolean nullable)
                                        throws java.sql.SQLException
Specified by:
getBestRowIdentifier in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schema - ignored
table -
scope - ignored
nullable -
Returns:
Throws:
java.sql.SQLException

getVersionColumns

public java.sql.ResultSet getVersionColumns(java.lang.String catalog,
                                            java.lang.String schema,
                                            java.lang.String table)
                                     throws java.sql.SQLException
Not suppoted yet. It always returns empty ResultSet.

Specified by:
getVersionColumns in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schema - ignored
table - ignored
Returns:
empty ResultSet
Throws:
java.sql.SQLException

getPrimaryKeys

public java.sql.ResultSet getPrimaryKeys(java.lang.String catalog,
                                         java.lang.String schema,
                                         java.lang.String table)
                                  throws java.sql.SQLException
Specified by:
getPrimaryKeys in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schema - ignored
table -
Returns:
Throws:
java.sql.SQLException

getImportedKeys

public java.sql.ResultSet getImportedKeys(java.lang.String catalog,
                                          java.lang.String schema,
                                          java.lang.String table)
                                   throws java.sql.SQLException
Specified by:
getImportedKeys in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schema - ignored
table -
Returns:
Throws:
java.sql.SQLException

getExportedKeys

public java.sql.ResultSet getExportedKeys(java.lang.String catalog,
                                          java.lang.String schema,
                                          java.lang.String table)
                                   throws java.sql.SQLException
Specified by:
getExportedKeys in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schema - ignored
table -
Returns:
Throws:
java.sql.SQLException

getCrossReference

public java.sql.ResultSet getCrossReference(java.lang.String parentCatalog,
                                            java.lang.String parentSchema,
                                            java.lang.String parentTable,
                                            java.lang.String foreignCatalog,
                                            java.lang.String foreignSchema,
                                            java.lang.String foreignTable)
                                     throws java.sql.SQLException
Specified by:
getCrossReference in interface java.sql.DatabaseMetaData
Parameters:
parentCatalog - ignored
parentSchema - ignored
parentTable -
foreignCatalog - ignored
foreignSchema - ignored
foreignTable -
Returns:
Throws:
java.sql.SQLException

getTypeInfo

public java.sql.ResultSet getTypeInfo()
                               throws java.sql.SQLException
Specified by:
getTypeInfo in interface java.sql.DatabaseMetaData
Throws:
java.sql.SQLException

getIndexInfo

public java.sql.ResultSet getIndexInfo(java.lang.String catalog,
                                       java.lang.String schema,
                                       java.lang.String table,
                                       boolean unique,
                                       boolean approximate)
                                throws java.sql.SQLException
Specified by:
getIndexInfo in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schema - ignored
table -
unique -
approximate - ignored
Returns:
Throws:
java.sql.SQLException

supportsResultSetType

public boolean supportsResultSetType(int type)
                              throws java.sql.SQLException
Supported type is ResultSet.TYPE_FORWARD_ONLY only.

Specified by:
supportsResultSetType in interface java.sql.DatabaseMetaData
Parameters:
type -
Returns:
true if type is java.sql.ResultSet.TYPE_FORWARD_ONLY.
Throws:
java.sql.SQLException - SQLException is not generated.

supportsResultSetConcurrency

public boolean supportsResultSetConcurrency(int type,
                                            int concurrency)
                                     throws java.sql.SQLException
Supported type is ResultSet.TYPE_FORWARD_ONLY and concurrency is ResultSet.CONCUR_READ_ONLY only.

Specified by:
supportsResultSetConcurrency in interface java.sql.DatabaseMetaData
Parameters:
type -
concurrency -
Returns:
true if type is java.sql.ResultSet.TYPE_FORWARD_ONLY and concurrency is java.sql.ResultSet.CONCUR_READ_ONLY.
Throws:
java.sql.SQLException - SQLException is not generated.

ownUpdatesAreVisible

public boolean ownUpdatesAreVisible(int type)
                             throws java.sql.SQLException
It always returns false.

Specified by:
ownUpdatesAreVisible in interface java.sql.DatabaseMetaData
Parameters:
type - ignored
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

ownDeletesAreVisible

public boolean ownDeletesAreVisible(int type)
                             throws java.sql.SQLException
It always returns false.

Specified by:
ownDeletesAreVisible in interface java.sql.DatabaseMetaData
Parameters:
type - ignored
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

ownInsertsAreVisible

public boolean ownInsertsAreVisible(int type)
                             throws java.sql.SQLException
It always returns false.

Specified by:
ownInsertsAreVisible in interface java.sql.DatabaseMetaData
Parameters:
type - ignored
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

othersUpdatesAreVisible

public boolean othersUpdatesAreVisible(int type)
                                throws java.sql.SQLException
It always returns false.

Specified by:
othersUpdatesAreVisible in interface java.sql.DatabaseMetaData
Parameters:
type - ignored
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

othersDeletesAreVisible

public boolean othersDeletesAreVisible(int type)
                                throws java.sql.SQLException
It always returns false.

Specified by:
othersDeletesAreVisible in interface java.sql.DatabaseMetaData
Parameters:
type - ignored
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

othersInsertsAreVisible

public boolean othersInsertsAreVisible(int type)
                                throws java.sql.SQLException
It always returns false.

Specified by:
othersInsertsAreVisible in interface java.sql.DatabaseMetaData
Parameters:
type - ignored
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

updatesAreDetected

public boolean updatesAreDetected(int type)
                           throws java.sql.SQLException
It always returns false.

Specified by:
updatesAreDetected in interface java.sql.DatabaseMetaData
Parameters:
type - ignored
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

deletesAreDetected

public boolean deletesAreDetected(int type)
                           throws java.sql.SQLException
It always returns false.

Specified by:
deletesAreDetected in interface java.sql.DatabaseMetaData
Parameters:
type - ignored
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

insertsAreDetected

public boolean insertsAreDetected(int type)
                           throws java.sql.SQLException
It always returns false.

Specified by:
insertsAreDetected in interface java.sql.DatabaseMetaData
Parameters:
type - ignored
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsBatchUpdates

public boolean supportsBatchUpdates()
                             throws java.sql.SQLException
It always returns true.

Specified by:
supportsBatchUpdates in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

getUDTs

public java.sql.ResultSet getUDTs(java.lang.String catalog,
                                  java.lang.String schemaPattern,
                                  java.lang.String typeNamePattern,
                                  int[] types)
                           throws java.sql.SQLException
UDT is not supported yet. It always returns empty ResultSet.

Specified by:
getUDTs in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schemaPattern - ignored
typeNamePattern - ignored
types - ignored
Returns:
empty ResultSet
Throws:
java.sql.SQLException

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Specified by:
getConnection in interface java.sql.DatabaseMetaData
Throws:
java.sql.SQLException

supportsSavepoints

public boolean supportsSavepoints()
                           throws java.sql.SQLException
It always returns false.

Specified by:
supportsSavepoints in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsNamedParameters

public boolean supportsNamedParameters()
                                throws java.sql.SQLException
It always returns true.

Specified by:
supportsNamedParameters in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.

supportsMultipleOpenResults

public boolean supportsMultipleOpenResults()
                                    throws java.sql.SQLException
CallableStatement is not supported yet. It always returns false.

Specified by:
supportsMultipleOpenResults in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsGetGeneratedKeys

public boolean supportsGetGeneratedKeys()
                                 throws java.sql.SQLException
Supported by sqlite3_last_insert_rowid() function. It always returns true.

Specified by:
supportsGetGeneratedKeys in interface java.sql.DatabaseMetaData
Returns:
true
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
Last Insert Rowid

getSuperTypes

public java.sql.ResultSet getSuperTypes(java.lang.String catalog,
                                        java.lang.String schemaPattern,
                                        java.lang.String typeNamePattern)
                                 throws java.sql.SQLException
Not suppoted yet. It always returns empty ResultSet.

Specified by:
getSuperTypes in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schemaPattern - ignored
typeNamePattern - ignored
Returns:
empty ResultSe
Throws:
java.sql.SQLException

getSuperTables

public java.sql.ResultSet getSuperTables(java.lang.String catalog,
                                         java.lang.String schemaPattern,
                                         java.lang.String tableNamePattern)
                                  throws java.sql.SQLException
Not suppoted yet. It always returns empty ResultSet.

Specified by:
getSuperTables in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schemaPattern - ignored
tableNamePattern - ignored
Returns:
empty ResultSet
Throws:
java.sql.SQLException

getAttributes

public java.sql.ResultSet getAttributes(java.lang.String catalog,
                                        java.lang.String schemaPattern,
                                        java.lang.String typeNamePattern,
                                        java.lang.String attributeNamePattern)
                                 throws java.sql.SQLException
Not suppoted yet. It always returns empty ResultSet.

Specified by:
getAttributes in interface java.sql.DatabaseMetaData
Parameters:
catalog - ignored
schemaPattern - ignored
typeNamePattern - ignored
attributeNamePattern - ignored
Returns:
empty ResultSet
Throws:
java.sql.SQLException

supportsResultSetHoldability

public boolean supportsResultSetHoldability(int holdability)
                                     throws java.sql.SQLException
It always returns false.

Specified by:
supportsResultSetHoldability in interface java.sql.DatabaseMetaData
Parameters:
holdability - ignored
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

getResultSetHoldability

public int getResultSetHoldability()
                            throws java.sql.SQLException
It always returns CLOSE_CURSORS_AT_COMMIT.

Specified by:
getResultSetHoldability in interface java.sql.DatabaseMetaData
Returns:
java.sql.CLOSE_CURSORS_AT_COMMIT
Throws:
java.sql.SQLException - SQLException is not generated.
See Also:
JdbcStatement.getResultSetHoldability()

getDatabaseMajorVersion

public int getDatabaseMajorVersion()
                            throws java.sql.SQLException
invoke sqlite3_libversion_number() function.

Specified by:
getDatabaseMajorVersion in interface java.sql.DatabaseMetaData
Returns:
Returns the value of sqlite3_libversion_number() / 1000000
Throws:
java.sql.SQLException - SQLException is not generated.

getDatabaseMinorVersion

public int getDatabaseMinorVersion()
                            throws java.sql.SQLException
invoke sqlite3_libversion_number() function.

Specified by:
getDatabaseMinorVersion in interface java.sql.DatabaseMetaData
Returns:
Returns the value of (sqlite3_libversion_number() % 1000000) / 1000
Throws:
java.sql.SQLException - SQLException is not generated.

getJDBCMajorVersion

public int getJDBCMajorVersion()
                        throws java.sql.SQLException
It always returns 3.

Specified by:
getJDBCMajorVersion in interface java.sql.DatabaseMetaData
Returns:
3
Throws:
java.sql.SQLException - SQLException is not generated.

getJDBCMinorVersion

public int getJDBCMinorVersion()
                        throws java.sql.SQLException
It always returns 0.

Specified by:
getJDBCMinorVersion in interface java.sql.DatabaseMetaData
Returns:
0
Throws:
java.sql.SQLException - SQLException is not generated.

getSQLStateType

public int getSQLStateType()
                    throws java.sql.SQLException
It always returns sqlStateSQL99.

Specified by:
getSQLStateType in interface java.sql.DatabaseMetaData
Returns:
java.sql.DatabaseMetaData.sqlStateSQL99
Throws:
java.sql.SQLException - SQLException is not generated.

locatorsUpdateCopy

public boolean locatorsUpdateCopy()
                           throws java.sql.SQLException
It always returns false.

Specified by:
locatorsUpdateCopy in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

supportsStatementPooling

public boolean supportsStatementPooling()
                                 throws java.sql.SQLException
It always returns false.

Specified by:
supportsStatementPooling in interface java.sql.DatabaseMetaData
Returns:
false
Throws:
java.sql.SQLException - SQLException is not generated.

getDatabaseList

public java.util.List<DatabaseList> getDatabaseList()
                                             throws java.sql.SQLException
execute 'PRAGMA database_list' query.

Returns:
list of DatabaseList
Throws:
java.sql.SQLException
See Also:
PRAGMA database_list;

getTableInfo

public java.util.List<TableInfo> getTableInfo(java.lang.String tableName)
                                       throws java.sql.SQLException
execute 'PRAGMA table_info(table-name)' query.

Parameters:
tableName -
Returns:
list of TableInfo
Throws:
java.sql.SQLException
See Also:
PRAGMA table_info(table-name);

getIndexList

public java.util.List<IndexList> getIndexList(java.lang.String tableName)
                                       throws java.sql.SQLException
execute 'PRAGMA index_list(table-name)' query.

Parameters:
tableName -
Returns:
list of IndexList
Throws:
java.sql.SQLException
See Also:
PRAGMA index_list(table-name);

getIndexInfo

public java.util.List<IndexInfo> getIndexInfo(java.lang.String indexName)
                                       throws java.sql.SQLException
execute 'PRAGMA index_info(index-name)' query.

Parameters:
indexName -
Returns:
list of IndexInfo
Throws:
java.sql.SQLException
See Also:
PRAGMA index_info(index-name);

getForeignKeyList

public java.util.List<ForeignKeyList> getForeignKeyList(java.lang.String tableName)
                                                 throws java.sql.SQLException
execute 'PRAGMA foreign_key_list(table-name)' query.

Parameters:
tableName -
Returns:
list of ForeignKeyList
Throws:
java.sql.SQLException
See Also:
PRAGMA foreign_key_list(table-name);

getColumnType

public static int getColumnType(int columnType)

getColumnClassName

public static java.lang.String getColumnClassName(int columnType)

getPrecision

public static int getPrecision(int columnType)

getScale

public static int getScale(int columnType)

getColumnDisplaySize

public static int getColumnDisplaySize(int columnType)

isSigned

public static boolean isSigned(int columnType)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

getRadix

public static int getRadix(int columnType)