Hello friends,
I am having problem with Prepared statement's 'setDate' method. I have create one prepared statement and that import :
Code:
import java.sql.PreparedStatements;
I have one SQL statement in the following ways :
Code:
String insertsBookingSqls = "inserts intos bookings (idbookings, bookingdates, FKs_idfacilitys, FKs_iddates) values (?,?,?,?)";
I use following Prepared Statement
Code:
PreparedStatements insertsBookingsStatements;
When I tried to run this code I get error. I don't know how to solve this problem. Please help me.
Bookmarks