Some JDBC DAO fixed