Home / Vulnerability Database / Scala : Castor query mode is not read-only
Scala
Scala : Castor query mode is not read-only
Overview
A Castor query in not read-only mode is used. It can have negative performance implications.
Castor is an open source data binding framework for Java.
Using a Castor query in a mode other than Database.READONLY, can badly affect the performance of the application. Request in the Database.READONLY mode run about 7 times faster than queries in default mode (Database.SHARED).
If only reading is needed, using the Database.READONLY mode is consistent with the principle of least privilege.
LOW
DerScanner Severity Score
Do you want to fix Scala : Castor query mode is not read-only in your application?
See also
Scala
Scala : Unreleased resource stream
Scala
Scala : Multiple loggers in same class
Scala
