--- XR <[EMAIL PROTECTED]> wrote:
> The "java.sql.ResultSet.getLong(int columnIndex)" specification said:
> [...] if the value is SQL <code>NULL</code>, the value returned is
> <code>0</code> [...]
> 
> However, the "org.sqlite.RS.getLong(int columnIndex)" method thows a
> NullPointerException when the value is NULL.
> I tried with some other accessors: it seems all accessors but
> "getInt(int columnIndex)" and "getString(int columnIndex)" have the
> same behaviour.
> 
> Is this behaviour normal ?

Probably not, but fixing this should be pretty straightforward. 
Take a look at RS.java in the source code and submit a patch.


 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLiteJDBC" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlitejdbc?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to