karutaproject / karuta-backend_legacy

Data repository for Karuta. Can write into MySQL and Oracle databases.
Other
10 stars 15 forks source link

DBConnect.getRights(String, String) attempts to access a result set field with index 0 #52

Closed darolmar closed 7 years ago

darolmar commented 7 years ago

com.portfolio.security.DBConnect.getRights(String, String) attempts to access a result set field with index 0

A call to getXXX or updateXXX methods of a result set was made where the field index is 0. As ResultSet fields start at index 1, this is always a mistake.

darolmar commented 7 years ago

I attach the patch to fix this. DBConnect.txt

nobry commented 7 years ago

Fixed in commit https://github.com/karutaproject/karuta-backend/commit/e3773f2ca29a92fb5c93ae3055c437628971db26

Thanks