Hi Folks, I've been using PostGresql for my database . And had been using postgresql 7.4.1jdbc3.jar up until last week , I recently upgraded to jdbc 9.0-801jdbc4.jar and began having problems with the bit fields in my database . Earlier the following code used to work seamlessly. String query= "INSERT INTO DOMAIN (CODE,DESCRIPTION,ISACTIVE,ISEDITABLE,DOMAINTYPE_OID) VALUES (?,?,?,?,?)" ; stmt = con.prepareStatement(query); stmt.setString(1, domainBean.getCode()); ...