mercredi 18 mars 2015

how can I get lastInsertRowId,escapeString,lastErrorCode using sqlite-jdbc



I was trying to use SQLite db with the help of sqlite-jdbc but I could not find how to get the values of



lastInsertRowId


lastErrorCode.



also is there any method to escapeString in java like we have in php?


while prepared statements are available instead of escapeString and also is an better way but I was wondering if it was available in java ?




Aucun commentaire:

Enregistrer un commentaire