Subject | Re: AW: [Firebird-Java] BLOBs |
---|---|
Author | Mark Rotteveel |
Post date | 2010-07-30T09:46:04Z |
> > Thanks to both of you for your answers.Unfortunately, you can only call wasNull() after requesting the field itself.
> >
> > @Roman: Is there a way to tell if a field is NULL without reading it?
>
> Depends on what level you want this info.
>
> - In SQL you can add IS NULL clause to the WHERE conditions.
>
> - On the API level you can check the sqlind field of the XSQLDA/XSQLVAR
> structure
>
> - On JDBC API level you use ResultSet.wasNull(...) call.
Mark
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01