java.sql.Connection.setReadOnlyが利用可能です。
詳細な情報については、Derby Server and Administration Guideの、「Connection.setReadOnly メソッドの利用による違い」を参照してください。