Code example for PreparedStatement

Methods: setDouble

    public void bindDouble(int index, double value) {
    	try { 
		} catch (SQLException e) {
			throw new RuntimeException(e);
     * Bind a String value to this statement. The value remains bound until 
     * {@link #clearBindings} is called. 
     * @param index The 1-based index to the parameter to bind 
     * @param value The value to bind 
    public void bindString(int index, String value) {
Contextual code suggestions in your IDE  Get Codota for Java