I've only used the xerial driver recently and haven't checked for the
error code on exception. It does come with source, so you may be able
to walk into the code to see how the value is set/retrieved.
___
sqlite-users mailing list
Any one with java/JDBC experience please have a look at the snippet and
let me know why I am not able to get the exact errorCode.
Thanks
Sridhar
On 08-06-2011 21:23, Martin.Engelschalk wrote:
> Hi,
>
> The important information is that you seem to use a JDBC driver.
> Maybe someone with
I am on windows 7 and this is my test code
try
{
Statement stat = mconn.createStatement();
stat.execute(sql);
resultSet = stat.getResultSet();
mconn.close();
break;
}
catch (SQLException e)
{
Hello Sridhar,
please tell us more: what interface are you using? what OS?
SQLException is not a part of the sqlite library, so obviously you use
an additional layer.
Martin
Am 08.06.2011 16:44, schrieb Sridhar Polavarapu:
> Appreciate if anyone can help me.
>
> Thanks
> Sridhar
>
> On
Appreciate if anyone can help me.
Thanks
Sridhar
On 08-06-2011 16:16, Sridhar Polavarapu wrote:
> Hi
>
> I am using getErrorCode() of SQLException to see if the exception is
> due to any database lock. I all the time get Errorcode to be 0 even
> though the getMessage is returning different
Hi
I am using getErrorCode() of SQLException to see if the exception is due
to any database lock. I all the time get Errorcode to be 0 even though
the getMessage is returning different messages. Can anyone let me know
if there is some thing that i need to do to get the error codes correctly ?
6 matches
Mail list logo