The datatype returned by the ResultSetMetaData for OID should be
VARBINARY, not INT. Here's a patch for Field.java:
Index: src/interfaces/jdbc/org/postgresql/Field.java
===================================================================
RCS file:
/home/projects/pgsql/cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/Field.java,v
retrieving revision 1.1
diff -r1.1 Field.java
118c118
< "int4","oid",
---
> "int4",
129c129,130
< "abstime","timestamp"
---
> "abstime","timestamp",
> "oid"
141c142
< Types.INTEGER,Types.INTEGER,
---
> Types.INTEGER,
152c153,154
< Types.TIMESTAMP,Types.TIMESTAMP
---
> Types.TIMESTAMP,Types.TIMESTAMP,
> Types.VARBINARY