The current implementation in DrizzleStatement and MySQLProtocol explicitly declares the input field (unnecessarily) as FileInputStream when there is no file based logic in the class. We need to wrap our inputs with custom filter stream wrappers to decrypt data on the fly. We need the declared type of the field and related methods to change to InputStream. If I used Maven or Git I'd include a patch, but I don't, and this is a trivial change, just using the proper parent class instead of the too specific subclass.
The current implementation in
DrizzleStatement
andMySQLProtocol
explicitly declares the input field (unnecessarily) asFileInputStream
when there is no file based logic in the class. We need to wrap our inputs with custom filter stream wrappers to decrypt data on the fly. We need the declared type of the field and related methods to change toInputStream
. If I used Maven or Git I'd include a patch, but I don't, and this is a trivial change, just using the proper parent class instead of the too specific subclass.