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

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
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 <georgestewartiv@yahoo.com> 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.
http://im.yahoo.com/
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
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 owner-instantdb@enhydra.org.