-
Notifications
You must be signed in to change notification settings - Fork 572
Description
https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html says:
In addition to SQLite's default BINARY collator, Android supplies two more, LOCALIZED, which changes with the system's current locale, and UNICODE, which is the Unicode Collation Algorithm and not tailored to the current locale.
While it worked with V 3.4.0, it crashes in V3.5.0:
net.sqlcipher.database.SQLiteException: no such collation sequence: LOCALIZED: , while compiling: SELECT _id, TEXT, COMMENT, DATE FROM NOTE ORDER BY TEXT COLLATE LOCALIZED ASC
at net.sqlcipher.database.SQLiteCompiledSql.native_compile(Native Method)
at net.sqlcipher.database.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
at net.sqlcipher.database.SQLiteCompiledSql.(SQLiteCompiledSql.java:64)
at net.sqlcipher.database.SQLiteProgram.(SQLiteProgram.java:83)
at net.sqlcipher.database.SQLiteQuery.(SQLiteQuery.java:49)
at net.sqlcipher.database.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:42)
at net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1762)
at net.sqlcipher.database.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1624)
at net.sqlcipher.database.SQLiteDatabase.query(SQLiteDatabase.java:1576)
at net.sqlcipher.database.SQLiteDatabase.query(SQLiteDatabase.java:1665)
at de.greenrobot.daoexample.NoteActivity.onCreate(NoteActivity.java:70)
If those collations were abandoned, please add a note for people that want to upgrade.