Here you can find the source of prepareStatement(Connection connection, String line)
public static PreparedStatement prepareStatement(Connection connection, String line)
//package com.java2s; //License from project: Open Source License import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; public class Main { public static PreparedStatement prepareStatement(Connection connection, String line) { try {//from ww w .j ava 2 s .com return connection.prepareStatement(line); } catch (SQLException e) { return null; } } }