This question is locked. New answers and comments are not allowed.
Hello,
I am getting this exception when trying to save to a database an object graph:
Insert of '1830272635-' failed: Telerik.OpenAccess.RT.sql.SQLException: SQLite error
table Programs has no column named group_id2
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute()
at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute()
at OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)
INSERT INTO [Programs] ([created], [device_type], [group_id], [last_edited], [group_id2], [program_name]) VALUES (?, ?, ?, ?, ?, ?)
(set event logging to all to see parameter values) Telerik.OpenAccess.RT.sql.SQLException: SQLite error
table Programs has no column named group_id2
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute()
at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute()
at OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)
Of course I don't have a column "group_id2" in Programs table, so this is somehow automatically generated. I have a primary key "id", set to autoincrement (in the ddl definition), and in Visual Designer I have Default as Identity Mechanism for that class, if that's relevant.
Could you point me to where the problem might be?