1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 02:09:35 +02:00

Title => TitledEntity

This commit is contained in:
Nikolay Pultsin 2013-03-09 19:11:57 +04:00
parent b54e36bd53
commit 8d0b00bf7a
16 changed files with 159 additions and 111 deletions

View file

@ -492,10 +492,10 @@ final class SQLiteBooksDatabase extends BooksDatabase {
} else {
long seriesId;
try {
myGetSeriesIdStatement.bindString(1, seriesInfo.Title);
myGetSeriesIdStatement.bindString(1, seriesInfo.Series.getTitle());
seriesId = myGetSeriesIdStatement.simpleQueryForLong();
} catch (SQLException e) {
myInsertSeriesStatement.bindString(1, seriesInfo.Title);
myInsertSeriesStatement.bindString(1, seriesInfo.Series.getTitle());
seriesId = myInsertSeriesStatement.executeInsert();
}
myInsertBookSeriesStatement.bindLong(1, bookId);