com.j256.ormlite.db
Class SqliteAndroidDatabaseType

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

public class SqliteAndroidDatabaseType
extends SqliteDatabaseType
implements DatabaseType

Sqlite database type information for the Android OS. This has a difference driver class name.

WARNING: JDBC support in Android is currently marked as unsupported. I bet this will change in the future but until that time, you should use this with caution. You may want to try the SqlDroidDatabaseType 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
SqliteAndroidDatabaseType()
           
 
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

SqliteAndroidDatabaseType

public SqliteAndroidDatabaseType()
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.