[ https://forge.continuent.org/jira/browse/SEQUOIA-401?page=all ] Stephane Giron closed SEQUOIA-401: ----------------------------------
Closing old resolved bug > Streams opened by getBinaryStream, getAsciiStream, ... are not closed > --------------------------------------------------------------------- > > Key: SEQUOIA-401 > URL: https://forge.continuent.org/jira/browse/SEQUOIA-401 > Project: Sequoia > Type: Bug > Components: JDBC Driver > Versions: Sequoia 2.1, Sequoia 2.3, Sequoia 2.4, Sequoia 2.5, Sequoia > 2.6, Sequoia 2.6.1, Sequoia 2.7 > Reporter: Stephane Giron > Assignee: Stephane Giron > Fix For: Sequoia 2.8.1 > > > The JDBC 3.0 specification says : > Note that all the data in the returned stream must be read prior to getting > the value of any other column. The next call to a getter method implicitly > closes the stream. > This is not what is done in sequoia driver. > For example, getAsciiStream now returns : > return new ByteArrayInputStream(getString(columnIndex).getBytes()); > Si it will not be possible to close this stream on any subsequent call to a > getter method, as we do not keep any references to it. > This may result in memory leaks in the driver. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://forge.continuent.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ Sequoia mailing list [email protected] https://forge.continuent.org/mailman/listinfo/sequoia
