Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.25 KB | None | 0 0
  1. start connect...
  2. SQLite.JDBCDriver
  3. ***SQLite.JDBCDriver***
  4. SQLite.JDBCDriver
  5. 2016-10-26 11:37:43,520 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DoseEntity with reflection
  6. 2016-10-26 11:37:43,520 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DrugReminderEntity with reflection
  7. 2016-10-26 11:37:43,520 [INFO] TableUtils creating table 'remindDrugReminder'
  8. 2016-10-26 11:37:43,523 [DEBUG] JdbcConnectionSource opened connection to jdbc:sqlite:/private/var/mobile/Containers/Data/Application/E364C73E-063D-4173-846A-0B0319D31D8D/tmp/sample.db got #88218912
  9. 2016-10-26 11:37:43,537 [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-26 11:37:43,547 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DrugReminderEntity with reflection
  16. 2016-10-26 11:37:43,547 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DoseEntity with reflection
  17. 2016-10-26 11:37:43,547 [INFO] TableUtils creating table 'remindDose'
  18. 2016-10-26 11:37:43,549 [DEBUG] JdbcConnectionSource opened connection to jdbc:sqlite:/private/var/mobile/Containers/Data/Application/E364C73E-063D-4173-846A-0B0319D31D8D/tmp/sample.db got #88273040
  19. 2016-10-26 11:37:43,558 [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-26 11:37:43,560 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.IntakeEntity with reflection
  26. 2016-10-26 11:37:43,560 [INFO] TableUtils creating table 'remindIntake'
  27. 2016-10-26 11:37:43,562 [DEBUG] JdbcConnectionSource opened connection to jdbc:sqlite:/private/var/mobile/Containers/Data/Application/E364C73E-063D-4173-846A-0B0319D31D8D/tmp/sample.db got #88317840
  28. 2016-10-26 11:37:43,572 [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-26 11:37:43,572 [INFO] TableUtils creating table 'remindDrugReminder'
  31. java.sql.SQLException: SQL statement failed: CREATE TABLE IF NOT EXISTS `remindDrugReminder` (`isStopped` BOOLEAN , `duration` INTEGER , `startDate` BIGINT , `daysOfMedication` BLOB , `daysOfMedicationType` VARCHAR , `drugName` VARCHAR , `reminderId` INTEGER , PRIMARY KEY (`reminderId`) )
  32. at com.j256.ormlite.misc.SqlExceptionUtil.create(SqlExceptionUtil.java:25)
  33. at com.j256.ormlite.table.TableUtils.doStatements(TableUtils.java:467)
  34. at com.j256.ormlite.table.TableUtils.doCreateTable(TableUtils.java:442)
  35. at com.j256.ormlite.table.TableUtils.createTable(TableUtils.java:224)
  36. at com.j256.ormlite.table.TableUtils.createTableIfNotExists(TableUtils.java:62)
  37. at ru.agima.mobile.bl.db.Workers.DBWorker.createTableIfNotExists(DBWorker.java:48)
  38. at ru.agima.mobile.bl.db.DAO.reminders.DrugReminderDAO.create(DrugReminderDAO.java:47)
  39. at ru.agima.mobile.bl.logic.reminders.CreateReminderWorker.doWork(CreateReminderWorker.java:21)
  40. at ru.agima.mobile.bl.logic.reminders.CreateReminderWorker.doWork(CreateReminderWorker.java:12)
  41. at ru.agima.mobile.bl.logic.BaseWorker.Execute(BaseWorker.java:37)
  42. Caused by: java.sql.SQLException: SQLite.Exception: error in step
  43. at SQLite.JDBC2z.JDBCStatement.executeQuery(JDBCStatement.java:141)
  44. at SQLite.JDBC2z.JDBCPreparedStatement.execute(JDBCPreparedStatement.java:382)
  45. at com.j256.ormlite.jdbc.JdbcCompiledStatement.runExecute(JdbcCompiledStatement.java:64)
  46. at com.j256.ormlite.table.TableUtils.doStatements(TableUtils.java:461)
  47. ... 8 more
  48. 2016-10-26 11:37:43,574 [DEBUG] StatementBuilder built statement SELECT * FROM `remindDrugReminder` ORDER BY `reminderId` DESC LIMIT 1
  49. 2016-10-26 11:37:43,574 [DEBUG] BaseMappedStatement prepared statement 'SELECT * FROM `remindDrugReminder` ORDER BY `reminderId` DESC LIMIT 1 ' with 0 args
  50. 2016-10-26 11:37:43,575 [DEBUG] StatementExecutor query-for-first of 'SELECT * FROM `remindDrugReminder` ORDER BY `reminderId` DESC LIMIT 1 ' returned at 0 results
  51. 2016-10-26 11:37:43,582 [DEBUG] BaseMappedStatement insert data with statement 'INSERT INTO `remindDrugReminder` (`isStopped` ,`duration` ,`startDate` ,`daysOfMedication` ,`daysOfMedicationType` ,`drugName` ,`reminderId` ) VALUES (?,?,?,?,?,?,?)' and 7 args, changed 1 rows
  52. 2016-10-26 11:37:43,582 [DEBUG] JdbcConnectionSource closed connection #88317840
  53. connection closed
  54. 2016-10-26 11:37:43,582 [DEBUG] JdbcConnectionSource closed connection #88273040
  55. connection closed
  56. 2016-10-26 11:37:43,583 [DEBUG] JdbcConnectionSource closed connection #88218912
  57. connection closed
  58. (lldb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement