--- 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.
|