Modified JDBCWrapper to accept null, fixed bugs in it.