* unregistered bug - clob should map to Text instead of bytea for postgresql.

* increase log level to severe if blog or clob save failed with exception
This commit is contained in:
Heng Sin Low 2007-07-08 09:18:32 +00:00
parent b0aeb30573
commit 630b94fd12
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ public final class ConvertMap_PostgreSQL {
s_pg.put("\\bNCHAR\\b", "CHAR");
//begin vpj-cd e-evolution 03/11/2005 PostgreSQL
s_pg.put("\\bBLOB\\b", "BYTEA"); // BLOB not directly supported
s_pg.put("\\bCLOB\\b", "BYTEA"); // CLOB not directly supported
s_pg.put("\\bCLOB\\b", "TEXT"); // CLOB not directly supported
s_pg.put("\\bLIMIT\\b","\"limit\"");
s_pg.put("\\bACTION\\b","\"action\"");
s_pg.put("\\bold\\b","\"old\"");

View File

@ -171,7 +171,7 @@ public class PO_LOB implements Serializable
}
catch (Exception e)
{
log.log(Level.FINE, "[" + trxName + "] - " + sql, e);
log.log(Level.SEVERE, "[" + trxName + "] - " + sql, e);
success = false;
}
// Close Statement