* [ 1643996 ] Chat not working in postgres port
This commit is contained in:
parent
d45217ee20
commit
e42c7c4c73
|
@ -3163,18 +3163,15 @@ public abstract class PO
|
||||||
return null;
|
return null;
|
||||||
//
|
//
|
||||||
Object retValue = null;
|
Object retValue = null;
|
||||||
//begin vpj-cd e-Evolution 03/11/2005 PostgreSQL
|
|
||||||
if(DB.isPostgreSQL()||DB.isFyracle())
|
|
||||||
{
|
|
||||||
byte buf[] = (byte[])value;
|
|
||||||
retValue = buf;
|
|
||||||
return retValue;
|
|
||||||
}
|
|
||||||
//end vpj-cd e-Evolution 03/11/2005 PostgreSQL
|
|
||||||
long length = -99;
|
long length = -99;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (value instanceof Clob) // returns String
|
//[ 1643996 ] Chat not working in postgres port
|
||||||
|
if (value instanceof String ||
|
||||||
|
value instanceof byte[])
|
||||||
|
retValue = value;
|
||||||
|
else if (value instanceof Clob) // returns String
|
||||||
{
|
{
|
||||||
Clob clob = (Clob)value;
|
Clob clob = (Clob)value;
|
||||||
length = clob.length();
|
length = clob.length();
|
||||||
|
|
Loading…
Reference in New Issue