Subject | Re: [IB-Architect] New API -- Request for Comments |
---|---|
Author | Brett Bandy |
Post date | 2000-05-31T22:18:28Z |
Jim Starkey wrote:
Is the default trans mode autocommit :)
Since InterBase supports multiple transactions against a single database
as well as a single trans against multiple databases, was there thought
given to creating a transaction class?
Brett
>How do you set a transaction's attributes? (ie wait vs nowait, ...)
>
> Like Jdbc, there is not explicit support for multiple transactions
> per process. To get them, multiple attachments are required. There
> is a temptation to add a clone() method to Connection simplify the
> coding and allow sharing is the InterBase database attachment.
Is the default trans mode autocommit :)
Since InterBase supports multiple transactions against a single database
as well as a single trans against multiple databases, was there thought
given to creating a transaction class?
>Could you explain the difference between release and close?
> resultSet->release();
> statement->release();
> connection->close();
> catch (SQLException *exception)What about a SQLWarning class for new 6.0 warnings?
> {
> printf ("Query failed: %s\n", exception->getText());
> delete exception;
> return 1;
> }
Brett