I'm trying to insert a record in a table that contains a field of LVARBINARY data type. I'm using 'setBinaryStream' method of PreparedStatement to set the data.
When I execute the command, I get the following error:
Anyone can help me, or give me some kind of code that works for LVARBINARY update?
Thanks,
---
Jonatan Schroeder
Medisoft Ltda. - Brazil
Tecnology Use Support
When I execute the command, I get the following error:
Code:
java.sql.SQLException: Bad file descriptor
at com.progress.sql.jdbc.JdbcProgressPreparedStatement.putParamData(JdbcProgressPreparedStatement.java:2714)
at com.progress.sql.jdbc.JdbcProgressPreparedStatement.execute(JdbcProgressPreparedStatement.java:279)
at com.progress.sql.jdbc.JdbcProgressPreparedStatement.executeUpdate(JdbcProgressPreparedStatement.java:144)
at org.jboss.resource.adapter.jdbc.local.LocalPreparedStatement.executeUpdate(LocalPreparedStatement.java:308)
at br.com.medisoft.util.SQLEspecifico$TratamentoAtualizacaoLote.executeUpdate(SQLEspecifico.java:309)
...
Anyone can help me, or give me some kind of code that works for LVARBINARY update?
Thanks,
---
Jonatan Schroeder
Medisoft Ltda. - Brazil
Tecnology Use Support