· 9 years ago · Oct 25, 2016, 11:00 AM
1start connect...
2SQLite.JDBCDriver
3***SQLite.JDBCDriver***
4SQLite.JDBCDriver
52016-10-25 14:58:36,349 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DoseEntity with reflection
62016-10-25 14:58:36,349 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DrugReminderEntity with reflection
72016-10-25 14:58:36,350 [INFO] TableUtils creating table 'remindDrugReminder'
82016-10-25 14:58:36,352 [DEBUG] JdbcConnectionSource opened connection to jdbc:sqlite:/private/var/mobile/Containers/Data/Application/7C7EA9F6-4181-4C8F-BE10-D52A3B225283/tmp/sample.db got #89289760
92016-10-25 14:58:36,367 [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`) )
10connection opened
11start connect...
12SQLite.JDBCDriver
13***SQLite.JDBCDriver***
14SQLite.JDBCDriver
152016-10-25 14:58:36,369 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DrugReminderEntity with reflection
162016-10-25 14:58:36,369 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.DoseEntity with reflection
172016-10-25 14:58:36,369 [INFO] TableUtils creating table 'remindDose'
182016-10-25 14:58:36,372 [DEBUG] JdbcConnectionSource opened connection to jdbc:sqlite:/private/var/mobile/Containers/Data/Application/7C7EA9F6-4181-4C8F-BE10-D52A3B225283/tmp/sample.db got #89333408
192016-10-25 14:58:36,380 [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`) )
20connection opened
21start connect...
22SQLite.JDBCDriver
23***SQLite.JDBCDriver***
24SQLite.JDBCDriver
252016-10-25 14:58:36,382 [DEBUG] DaoManager created dao for class class ru.agima.mobile.bl.db.Entities.reminders.IntakeEntity with reflection
262016-10-25 14:58:36,382 [INFO] TableUtils creating table 'remindIntake'
272016-10-25 14:58:36,384 [DEBUG] JdbcConnectionSource opened connection to jdbc:sqlite:/private/var/mobile/Containers/Data/Application/7C7EA9F6-4181-4C8F-BE10-D52A3B225283/tmp/sample.db got #89369120
282016-10-25 14:58:36,394 [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`) )
29connection opened
302016-10-25 14:58:36,394 [INFO] TableUtils creating table 'remindDrugReminder'
31java.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:44)
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)
42Caused 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
482016-10-25 14:58:36,396 [DEBUG] StatementBuilder built statement SELECT * FROM `remindDrugReminder` ORDER BY `reminderId` DESC LIMIT 1
492016-10-25 14:58:36,397 [DEBUG] BaseMappedStatement prepared statement 'SELECT * FROM `remindDrugReminder` ORDER BY `reminderId` DESC LIMIT 1 ' with 0 args
502016-10-25 14:58:36,400 [DEBUG] StatementExecutor query-for-first of 'SELECT * FROM `remindDrugReminder` ORDER BY `reminderId` DESC LIMIT 1 ' returned at 0 results
512016-10-25 14:58:36,407 [DEBUG] BaseMappedStatement insert data with statement 'INSERT INTO `remindDrugReminder` (`isStopped` ,`duration` ,`startDate` ,`daysOfMedication` ,`daysOfMedicationType` ,`drugName` ,`reminderId` ) VALUES (?,?,?,?,?,?,?)' and 7 args, changed 1 rows
522016-10-25 14:58:36,407 [DEBUG] JdbcConnectionSource closed connection #89369120
53connection closed
542016-10-25 14:58:36,408 [DEBUG] JdbcConnectionSource closed connection #89333408
55connection closed
562016-10-25 14:58:36,408 [DEBUG] JdbcConnectionSource closed connection #89289760
57connection closed
58(lldb)