This commit is contained in:
Stefan Hardegger
2026-07-20 11:40:24 +02:00
parent 362f6a9988
commit 05114724df

View File

@@ -878,7 +878,7 @@ public class DatabaseManagementService {
story.setCoverPath(rs.getString("cover_path")); story.setCoverPath(rs.getString("cover_path"));
story.setWordCount(rs.getInt("word_count")); story.setWordCount(rs.getInt("word_count"));
story.setRating(rs.getInt("rating")); story.setRating(rs.getInt("rating"));
story.setVolume(rs.getInt("volume")); story.setVolume(rs.getObject("volume") != null ? rs.getDouble("volume") : null);
story.setIsRead(rs.getBoolean("is_read")); story.setIsRead(rs.getBoolean("is_read"));
story.setReadingPosition(rs.getInt("reading_position")); story.setReadingPosition(rs.getInt("reading_position"));