Converter assistence

View: New views
2 Messages — Rating Filter:   Alert me  

Converter assistence

by cmathrusse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It seems I'm running into an issue with our JDBC driver, so I was wondering if there is a way to create a Custom Converter, for EclipseLink to use, so my CLOB fields would be handed to the PreparedStatement as an InputStream rather than a String. Is there any way of accomplishing this so EclipseLink will use:

preparedStatement.setAsciiStream(int parameterIndex, InputStream x)

and

resultSet.getAsciiStream(int columnIndex)

Thanks for the help...

Re: Converter assistence

by James Sutherland :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

See, DatabaseLogin.useStreamsForBindg()

cmathrusse wrote:
It seems I'm running into an issue with our JDBC driver, so I was wondering if there is a way to create a Custom Converter, for EclipseLink to use, so my CLOB fields would be handed to the PreparedStatement as an InputStream rather than a String. Is there any way of accomplishing this so EclipseLink will use:

preparedStatement.setAsciiStream(int parameterIndex, InputStream x)

and

resultSet.getAsciiStream(int columnIndex)

Thanks for the help...