Java

Java : Castor query mode undefined

Overview

A Castor query in default mode is used. It can have negative performance implications.

Castor is an open source data binding framework for Java.

By default Castor queries are executed in the Database.SHARED mode, which enables reading and writing. Using a Castor query in this mode may badly affect the performance of the application. If only reading is needed, use the Database.READONLY query mode. Queries in the Database.READONLY mode run about 7 times faster than queries in default mode.

LOW

DerScanner Severity Score

Check your Java code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.