mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 02:09:35 +02:00
Title => TitledEntity
This commit is contained in:
parent
b54e36bd53
commit
8d0b00bf7a
16 changed files with 159 additions and 111 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue