com.j256.ormlite.db
Class SqlDroidDatabaseType

java.lang.Object
  extended by com.j256.ormlite.db.BaseDatabaseType
      extended by com.j256.ormlite.db.SqliteDatabaseType
          extended by com.j256.ormlite.db.SqlDroidDatabaseType
All Implemented Interfaces:
DatabaseType

public class SqlDroidDatabaseType
extends SqliteDatabaseType
implements DatabaseType

Sqlite database type information used on the Android OS using the SqlDroid 3rd party database driver.

NOTE: internal JDBC support in Android is currently marked as unsupported which is why the SqlDroid 3rd party driver was necessary. You may also want to try the SqliteAndroidDatabaseType if this driver does not work for you.

Author:
graywatson

Nested Class Summary
 
Nested classes/interfaces inherited from class com.j256.ormlite.db.BaseDatabaseType
BaseDatabaseType.BooleanNumberFieldConverter
 
Field Summary
 
Fields inherited from class com.j256.ormlite.db.BaseDatabaseType
booleanConverter
 
Constructor Summary
SqlDroidDatabaseType()
           
 
Method Summary
 String getDriverClassName()
          Return the class name of the database driver.
 String getDriverUrlPart()
          Return the part in the database URI which identifies the particular database.
 
Methods inherited from class com.j256.ormlite.db.SqliteDatabaseType
configureGeneratedId, isCreateTableReturnsZero, isVarcharFieldWidthSupported
 
Methods inherited from class com.j256.ormlite.db.BaseDatabaseType
appendBooleanType, appendByteType, appendCanBeNull, appendColumnArg, appendCreateTableSuffix, appendDateType, appendDefaultValue, appendDoubleType, appendEnumIntType, appendEnumStringType, appendEscapedEntityName, appendEscapedWord, appendFloatType, appendIntegerType, appendLimitValue, appendLongType, appendObjectType, appendSelectNextValFromSequence, appendShortType, appendStringType, buildDatabaseAccess, configureGeneratedIdSequence, configureId, convertColumnName, dropColumnArg, generateIdSequenceName, getCommentLinePrefix, getDefaultVarcharWidth, getFieldConverter, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitAfterSelect, isLimitSqlSupported, loadDriver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.j256.ormlite.db.DatabaseType
appendColumnArg, appendCreateTableSuffix, appendEscapedEntityName, appendEscapedWord, appendLimitValue, appendSelectNextValFromSequence, buildDatabaseAccess, convertColumnName, dropColumnArg, generateIdSequenceName, getCommentLinePrefix, getFieldConverter, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitAfterSelect, isLimitSqlSupported, isVarcharFieldWidthSupported, loadDriver
 

Constructor Detail

SqlDroidDatabaseType

public SqlDroidDatabaseType()
Method Detail

getDriverUrlPart

public String getDriverUrlPart()
Description copied from interface: DatabaseType
Return the part in the database URI which identifies the particular database. Usually the URI is in the form jdbc:ddd:... where ddd is the driver url part.

Specified by:
getDriverUrlPart in interface DatabaseType
Overrides:
getDriverUrlPart in class SqliteDatabaseType

getDriverClassName

public String getDriverClassName()
Description copied from interface: DatabaseType
Return the class name of the database driver.

Specified by:
getDriverClassName in interface DatabaseType
Overrides:
getDriverClassName in class SqliteDatabaseType


Copyright © 2010. All Rights Reserved.