[SQLiteJDBC] ResultSet.getResultSet Exception without ResultSet data

Adam B adamb at videx.com
Fri Feb 3 18:33:25 EST 2012


I agree, that sounds like bug (violation of spec).  I'm not sure if they have a bug tracking system so hopefully a developer will respond.  You could probably tweak the source to work around it for now.

On 02/03/2012 01:35 PM, Bastian B wrote:
> Hi,
>
> I think the getResultSet method should return null instead throwing a
> SQLException if there is no data from the last statement. This happens
> if you execute a statement that isn't a select. Check
> http://docs.oracle.com/javase/1.4.2/docs/api/java/sql/Statement.html#getResultSet%28%29
>
> Can you please fix this?
>
> Regards
>
> Bastian
>
> _______________________________________________
> SQLiteJDBC mailing list
> SQLiteJDBC at lists.hcoop.net
> https://lists.hcoop.net/listinfo/sqlitejdbc



Videx, Inc. | 1105 NE Circle Blvd. | Corvallis, OR 97330 | (541) 738-5500
This email is intended only for the addressee(s) and may include material that is privileged, confidential, and protected from disclosure.  No contract is intended.  ©2011 Videx, Inc.



More information about the SQLiteJDBC mailing list