Hi all,

this is indeed a bug in the driver, as we did not recognized
commands that did not deliver any row count at all. Thank
you for reporting this issue.

Anyway, you will get a -1 when you perform a "DELETE FROM <TABLE>"
statement and delete a complete table, as here the database kernel
does not care about the amount of deleted rows.

Regards
Alexander Schr�der
SAP Labs Berlin

> Thanks for tip Peter ! It works.
> But if create the table with the user dba and try to acces 
> the data with
> the user admin without specifying the schema and it works !
> 
> In the Javadoc it's written that the method executeUpdate 
> should return
> "either the row count for INSERT, UPDATE  or DELETE 
> statements, or 0 for
> SQL statements that return nothing"
> So as it returns -1 in my program, I assume that this is not normal,
> isn't it ?
> 
> Laurent


_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to