IDEMPIERE-5076 Move/Copy client doesn't work in oracle (#2135)

This commit is contained in:
Carlos Ruiz 2023-12-12 08:38:13 +01:00 committed by GitHub
parent 620a528a98
commit 8dfb29c91d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -857,6 +857,8 @@ public final class DB
pstmt.setBytes(index, (byte[]) param); pstmt.setBytes(index, (byte[]) param);
else if (param instanceof Clob) else if (param instanceof Clob)
pstmt.setClob(index, (Clob) param); pstmt.setClob(index, (Clob) param);
else if (param.getClass().getName().equals("oracle.sql.BLOB"))
pstmt.setObject(index, param);
else else
throw new DBException("Unknown parameter type "+index+" - "+param); throw new DBException("Unknown parameter type "+index+" - "+param);
} }