Mercurial > hg > LGServices
diff src/main/java/de/mpiwg/gazetteer/db/DBSection.java @ 40:35ed4e650a53
bug fixed: full text search when section not found in section_index table. add paginator
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 07 Dec 2015 17:06:57 +0100 |
parents | 3e62083dbcbf |
children | 9dbbbfd474f4 |
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/gazetteer/db/DBSection.java Fri Dec 04 14:28:44 2015 +0100 +++ b/src/main/java/de/mpiwg/gazetteer/db/DBSection.java Mon Dec 07 17:06:57 2015 +0100 @@ -32,6 +32,14 @@ this.bookId = bookId; }*/ + public DBSection() { + this.name = "-"; + this.id = null; + this.bookId = null; + this.start_page = null; + this.end_page = null; + } + public DBSection(ResultSet rs) throws SQLException{ this.name = rs.getString("name"); this.id = rs.getLong("id");