Inserting records to table through JDBC