jeudi 25 février 2016

How to get errors details from android.database.SQLException?

I have a database in my android app with two separate columns that have a UNIQUE constraint. When entering data and an SQLException exception is thrown I want to know which field's unique constraint was violated so I can take appropriate action.

Aucun commentaire:

Enregistrer un commentaire