Advertisement
Guest User

Ошибка при чтении после создания

a guest
Oct 24th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.62 KB | None | 0 0
  1. start connect...
  2. SQLite.JDBCDriver
  3. ***SQLite.JDBCDriver***
  4. SQLite.JDBCDriver
  5. 2016-10-24 11:31:32,392 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DoseEntity with reflection
  6. 2016-10-24 11:31:32,393 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DrugReminderEntity with reflection
  7. 2016-10-24 11:31:32,393 [INFO] TableUtils creating table 'remindDrugReminder'
  8. 2016-10-24 11:31:32,395 [DEBUG] JdbcConnectionSource opened connection to jdbc:sqlite:/private/var/mobile/Containers/Data/Application/166D6F08-12FB-4C44-A0E5-DD71C973FAC6/tmp/sample.db got #92559424
  9. 2016-10-24 11:31:32,396 [INFO] TableUtils executed create table statement changed 0 rows: CREATE TABLE IF NOT EXISTS `remindDrugReminder` (`isStopped` BOOLEAN , `duration` INTEGER , `startDate` BIGINT , `daysOfMedication` BLOB , `daysOfMedicationType` VARCHAR , `drugName` VARCHAR , `reminderId` INTEGER , PRIMARY KEY (`reminderId`) )
  10. connection opened
  11. start connect...
  12. SQLite.JDBCDriver
  13. ***SQLite.JDBCDriver***
  14. SQLite.JDBCDriver
  15. 2016-10-24 11:31:32,398 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DrugReminderEntity with reflection
  16. 2016-10-24 11:31:32,398 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DoseEntity with reflection
  17. 2016-10-24 11:31:32,398 [INFO] TableUtils creating table 'remindDose'
  18. 2016-10-24 11:31:32,399 [DEBUG] JdbcConnectionSource opened connection to jdbc:sqlite:/private/var/mobile/Containers/Data/Application/166D6F08-12FB-4C44-A0E5-DD71C973FAC6/tmp/sample.db got #92611664
  19. 2016-10-24 11:31:32,400 [INFO] TableUtils executed create table statement changed 0 rows: CREATE TABLE IF NOT EXISTS `remindDose` (`doseType` VARCHAR , `dose` INTEGER , `time` BIGINT , `drugReminderEntity_id` INTEGER NOT NULL , `doseId` INTEGER , PRIMARY KEY (`doseId`) )
  20. connection opened
  21. start connect...
  22. SQLite.JDBCDriver
  23. ***SQLite.JDBCDriver***
  24. SQLite.JDBCDriver
  25. 2016-10-24 11:31:32,401 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.IntakeEntity with reflection
  26. 2016-10-24 11:31:32,404 [INFO] TableUtils creating table 'remindIntake'
  27. 2016-10-24 11:31:32,405 [DEBUG] JdbcConnectionSource opened connection to jdbc:sqlite:/private/var/mobile/Containers/Data/Application/166D6F08-12FB-4C44-A0E5-DD71C973FAC6/tmp/sample.db got #92656048
  28. 2016-10-24 11:31:32,406 [INFO] TableUtils executed create table statement changed 0 rows: CREATE TABLE IF NOT EXISTS `remindIntake` (`isDeleted` BOOLEAN , `isMissed` BOOLEAN , `doseType` VARCHAR , `dose` INTEGER , `date` BIGINT , `doseId` INTEGER , `intakeId` INTEGER , PRIMARY KEY (`intakeId`) )
  29. connection opened
  30. 2016-10-24 11:31:32,406 [DEBUG] StatementBuilder built statement SELECT * FROM `remindDrugReminder`
  31. 2016-10-24 11:31:32,406 [DEBUG] BaseMappedStatement prepared statement 'SELECT * FROM `remindDrugReminder` ' with 0 args
  32. 2016-10-24 11:31:32,407 [DEBUG] SelectIterator starting iterator @92650560 for 'SELECT * FROM `remindDrugReminder` '
  33. 2016-10-24 11:31:32,409 [DEBUG] SelectIterator closed iterator @92650560 after 0 rows
  34. java.sql.SQLException: not supported
  35. at SQLite.JDBC2z.JDBCResultSet.getByte(JDBCResultSet.java:599)
  36. at com.j256.ormlite.jdbc.JdbcDatabaseResults.getByte(JdbcDatabaseResults.java:120)
  37. at com.j256.ormlite.db.BaseDatabaseType$BooleanNumberFieldConverter.resultToSqlArg(BaseDatabaseType.java:564)
  38. at com.j256.ormlite.field.BaseFieldConverter.resultToJava(BaseFieldConverter.java:24)
  39. at com.j256.ormlite.field.FieldType.resultToJava(FieldType.java:794)
  40. at com.j256.ormlite.stmt.mapped.BaseMappedQuery.mapRow(BaseMappedQuery.java:60)
  41. at com.j256.ormlite.stmt.SelectIterator.getCurrent(SelectIterator.java:272)
  42. at com.j256.ormlite.stmt.SelectIterator.nextThrow(SelectIterator.java:163)
  43. at com.j256.ormlite.stmt.StatementExecutor.query(StatementExecutor.java:202)
  44. at com.j256.ormlite.dao.BaseDaoImpl.query(BaseDaoImpl.java:269)
  45. at ru.agima.mobile.bl.db.DAO.reminders.DrugReminderDAO.readAll(DrugReminderDAO.java:134)
  46. at ru.agima.mobile.bl.logic.reminders.GetRemindersWorker.doWork(GetRemindersWorker.java:24)
  47. at ru.agima.mobile.bl.logic.reminders.GetRemindersWorker.doWork(GetRemindersWorker.java:16)
  48. at ru.agima.mobile.bl.logic.BaseWorker.Execute(BaseWorker.java:37)
  49. 2016-10-24 11:31:32,413 [DEBUG] JdbcConnectionSource closed connection #92656048
  50. connection closed
  51. 2016-10-24 11:31:32,414 [DEBUG] JdbcConnectionSource closed connection #92611664
  52. connection closed
  53. 2016-10-24 11:31:32,414 [DEBUG] JdbcConnectionSource closed connection #92559424
  54. connection closed
  55. connection closed
  56. connection closed
  57. connection closed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement