[odb-users] Runtime create_schema failure

Ciccio Pasticcio dodungocorporation at gmail.com
Thu Jul 19 07:53:39 EDT 2018


We discovered that a (our) library that the app links use ODB and have a
table named Status with the structure (id, value, descritption) in its own
database. Is there a way to isolate the 2 context without changing the
table names?

2018-07-18 16:37 GMT+02:00 Boris Kolpackov <boris at codesynthesis.com>:

> Ciccio Pasticcio <dodungocorporation at gmail.com> writes:
>
> > The logs are pretty clear to me, except the *bold  *line:
> >
> >  2018-07-18 09:45:32,325 [INFO ] CCS-DBT       : EXECUTE: CREATE TABLE
> > "Status" (#012  "id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,#012
> > "value" INTEGER NOT NULL,#012  "description" TEXT NOT NULL)
>
> So you have a stray table created called "Status". My guess is that one
> of the *-odb.cxx files (that you compile and link into your program)
> defines it. Try to grep through all *-odb.cxx looking for 'CREATE TABLE'
> and see if it gives any hints.
>
>


More information about the odb-users mailing list