title: can we use prepared statement without setter methods?
body: <p>We see that prepared statements in java are used for pre-compiled SQL statements. Can we use a prepared statement for an INSERT query without the setter methods and provide the data directly in the statement declaration?</p>