Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- start connect...
- SQLite.JDBCDriver
- ***SQLite.JDBCDriver***
- SQLite.JDBCDriver
- 2016-10-26 11:37:43,520 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DoseEntity with reflection
- 2016-10-26 11:37:43,520 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DrugReminderEntity with reflection
- 2016-10-26 11:37:43,520 [INFO] TableUtils creating table 'remindDrugReminder'
- 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
- 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`) )
- connection opened
- start connect...
- SQLite.JDBCDriver
- ***SQLite.JDBCDriver***
- SQLite.JDBCDriver
- 2016-10-26 11:37:43,547 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DrugReminderEntity with reflection
- 2016-10-26 11:37:43,547 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DoseEntity with reflection
- 2016-10-26 11:37:43,547 [INFO] TableUtils creating table 'remindDose'
- 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
- 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`) )
- connection opened
- start connect...
- SQLite.JDBCDriver
- ***SQLite.JDBCDriver***
- SQLite.JDBCDriver
- 2016-10-26 11:37:43,560 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.IntakeEntity with reflection
- 2016-10-26 11:37:43,560 [INFO] TableUtils creating table 'remindIntake'
- 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
- 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`) )
- connection opened
- 2016-10-26 11:37:43,572 [INFO] TableUtils creating table 'remindDrugReminder'
- 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`) )
- at com.j256.ormlite.misc.SqlExceptionUtil.create(SqlExceptionUtil.java:25)
- at com.j256.ormlite.table.TableUtils.doStatements(TableUtils.java:467)
- at com.j256.ormlite.table.TableUtils.doCreateTable(TableUtils.java:442)
- at com.j256.ormlite.table.TableUtils.createTable(TableUtils.java:224)
- at com.j256.ormlite.table.TableUtils.createTableIfNotExists(TableUtils.java:62)
- at ru.agima.mobile.bl.db.Workers.DBWorker.createTableIfNotExists(DBWorker.java:48)
- at ru.agima.mobile.bl.db.DAO.reminders.DrugReminderDAO.create(DrugReminderDAO.java:47)
- at ru.agima.mobile.bl.logic.reminders.CreateReminderWorker.doWork(CreateReminderWorker.java:21)
- at ru.agima.mobile.bl.logic.reminders.CreateReminderWorker.doWork(CreateReminderWorker.java:12)
- at ru.agima.mobile.bl.logic.BaseWorker.Execute(BaseWorker.java:37)
- Caused by: java.sql.SQLException: SQLite.Exception: error in step
- at SQLite.JDBC2z.JDBCStatement.executeQuery(JDBCStatement.java:141)
- at SQLite.JDBC2z.JDBCPreparedStatement.execute(JDBCPreparedStatement.java:382)
- at com.j256.ormlite.jdbc.JdbcCompiledStatement.runExecute(JdbcCompiledStatement.java:64)
- at com.j256.ormlite.table.TableUtils.doStatements(TableUtils.java:461)
- ... 8 more
- 2016-10-26 11:37:43,574 [DEBUG] StatementBuilder built statement SELECT * FROM `remindDrugReminder` ORDER BY `reminderId` DESC LIMIT 1
- 2016-10-26 11:37:43,574 [DEBUG] BaseMappedStatement prepared statement 'SELECT * FROM `remindDrugReminder` ORDER BY `reminderId` DESC LIMIT 1 ' with 0 args
- 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
- 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
- 2016-10-26 11:37:43,582 [DEBUG] JdbcConnectionSource closed connection #88317840
- connection closed
- 2016-10-26 11:37:43,582 [DEBUG] JdbcConnectionSource closed connection #88273040
- connection closed
- 2016-10-26 11:37:43,583 [DEBUG] JdbcConnectionSource closed connection #88218912
- connection closed
- (lldb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement