|
From: Michael K. <ko...@us...> - 2005-11-29 07:18:46
|
Update of /cvsroot/cobricks/cobricks2/src/org/cobricks/core/db In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2355/org/cobricks/core/db Modified Files: DBAccessImpl.java Log Message: Index: DBAccessImpl.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/core/db/DBAccessImpl.java,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- DBAccessImpl.java 21 Oct 2005 15:56:46 -0000 1.20 +++ DBAccessImpl.java 29 Nov 2005 07:18:38 -0000 1.21 @@ -1024,7 +1024,10 @@ result.put(label.toLowerCase(), ts); continue; } catch (Exception e) { - Object o = rs.getObject(i); + Object o = null; + try { // if this failes, it is a representation of NULL + o = rs.getObject(i); + } catch (Exception e2) { } if (o != null) { logger.warn("Failed reading timestamp value from: " +o.toString()+" "+o.getClass().getName()); |