org.droidparts.test.persist
Class DBOpenHelper
java.lang.Object
android.database.sqlite.SQLiteOpenHelper
org.droidparts.persist.sql.AbstractDBOpenHelper
org.droidparts.test.persist.DBOpenHelper
- All Implemented Interfaces:
- DB, SQL.DDL
public class DBOpenHelper
- extends AbstractDBOpenHelper
- implements DB
| Nested classes/interfaces inherited from interface org.droidparts.test.persist.DB |
DB.Column, DB.Table |
| Fields inherited from interface org.droidparts.contract.SQL.DDL |
ADD_COLUMN, ALTER_TABLE, BLOB, CLOSING_BRACE, CREATE_INDEX, CREATE_TABLE, CREATE_UNIQUE_INDEX, DEFAULT, INTEGER, NOT_NULL, ON, OPENING_BRACE, PK, REAL, SEPARATOR, TEXT, UNIQUE |
|
Constructor Summary |
DBOpenHelper(android.content.Context ctx)
|
|
Method Summary |
protected void |
onCreateTables(android.database.sqlite.SQLiteDatabase db)
|
void |
onUpgrade(android.database.sqlite.SQLiteDatabase db,
int oldVersion,
int newVersion)
|
| Methods inherited from class android.database.sqlite.SQLiteOpenHelper |
close, getDatabaseName, getReadableDatabase, getWritableDatabase, onConfigure, onDowngrade, setWriteAheadLoggingEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBOpenHelper
public DBOpenHelper(android.content.Context ctx)
onCreateTables
protected void onCreateTables(android.database.sqlite.SQLiteDatabase db)
- Specified by:
onCreateTables in class AbstractDBOpenHelper
onUpgrade
public void onUpgrade(android.database.sqlite.SQLiteDatabase db,
int oldVersion,
int newVersion)
- Specified by:
onUpgrade in class android.database.sqlite.SQLiteOpenHelper
Copyright © 2011-2014. All Rights Reserved.