How do I set connection to read-only?
843854May 16 2002 — edited May 17 2002Hi!
I have made an application that allows the user to make SQL-queries against a MS SQL server. How do I set the connection to read only without changing the user roles in the db, ie I dont want the users to use a DELETE query for instance.
There is a method in java.sql.Connection callled setReadOnly(boolean), but after setting it to true I can still delete rows. Can anyone help me please?
regards Johan