Hi!
Maybe someone will tell me why the error “No ResultSet was produced.” flies when I make a query to SQL Server? In this case, if you refer to the “master” table, everything is fine.
var stmt: Statement?= null
var resultset: ResultSet? = null
try {
stmt = conn!!.createStatement()
resultset=stmt!!.executeQuery("USE books; SELECT * FROM clients;")
}
catch (e:SQLException){
Log.i("TEST",e.message)
}
Breaks already here, even before the beginning of reading