Skip to content

Commit 2cd437c

Browse files
committed
Inserting long var char attributes in dameng does not insert all data
Issue: 96676
1 parent c3a2cd9 commit 2cd437c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/main/java/com/genexus/db/driver/GXPreparedStatement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ private void setLongVarchar2(int index, String value, boolean nls) throws SQLExc
704704
if ( (realLength > 0 && con.getDBMS().useStreamsInLongVarchar() ) ||
705705
(realLength == 0 && con.getDBMS().useStreamsInNullLongVarchar()))
706706
{
707-
if(con.getDBMS().getId() == GXDBMS.DBMS_ORACLE)
707+
if(con.getDBMS().getId() == GXDBMS.DBMS_ORACLE || con.getDBMS().getId() == GXDBMS.DBMS_DAMENG)
708708
{ // Con Oracle no funciona bien el setAsciiStream con caracteres con tildes o eñes, etc
709709
// así que usamos un setUnicodeStream
710710
try

0 commit comments

Comments
 (0)