Make your own free website on

InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples

CVS Repositories

Who We Are
News, Articles & Events
Getting Involved
Contact Us

Case Studies
On The Edge! -NEW-
Commercial Vendors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: What's involved in getting prepared statement meta data working

--- george stewart <> wrote:
> To InstantDB maintainers,
> What's involved in supporting meta data from
> prepared
> statements? 

> I'll experiment with this, but ask anyway.  How will
> InstantDB behave if setObject(xx, null)?  Does it
> set
> to null, or do I need setNull(xx, type).

I exercised this and setObject(xx, null) behaves
nicely.  It sets the column value to 'NULL'.  Both on
insert and update.

My guess is that InstantDB doesn't precompile
statements, just assembles a string statement from the
supplied arguments.

Now, if there was just some way to determine if the
JDBC driver supported metadata from prepared
statements.  Currently, the only option is to try and
then catch the exception.

Regards, george

Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
To unsubscribe from this mailing list, send email to
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at