return TimestampWithTimezone.createTimestamp(value, context.getServerTimeZone(), cal);
}
public static Clob toChars(BlobType value, String encoding) {
Charset cs = getCharset(encoding);
BlobInputStreamFactory bisf = new BlobInputStreamFactory(value.getReference());
ClobImpl clob = new ClobImpl(bisf, -1);
clob.setCharset(cs);
return new ClobType(clob);
}