[odb-users] Is there an API documentation?

Boris Kolpackov boris at codesynthesis.com
Fri Jul 25 02:19:26 EDT 2014


Hi Marcel,

Marcel Nehring <mne at qosmotec.com> writes:

> that's a pity. I think it would be a great help to have something like
> this around for a quick reference. Might we have it available somewhere
> in the future?

I just generated Doxygen docs for libodb and libodb-oracle (with cross-
references):

http://codesynthesis.com/~boris/tmp/odb/doxygen/libodb/doc/html/

http://codesynthesis.com/~boris/tmp/odb/doxygen/libodb-oracle/doc/html/

There isn't any "text" documentation in there since we don't use Doxygen
comments in our source code. So can you give it a try and let me know if
it is useful?


> When talking about the schema I was referring to the "database namespace".
> In the meantime I checked the manual on this and it looks like ODB supports
> only a single schema. That is, there is no ODB way of issuing a "alter
> session set current_schema = xyz". Is this correct?

You can run any Oracle SQL statement with ODB:

db.execute ("alter session set current_schema = xyz");

So the idea is not to use any schema prefix when defining the objects
so that the current sessions schema is used to create/access their
tables. Then you can execute the above statement at any time you need
to switch to a different schema.

Boris



More information about the odb-users mailing list