Here you can find the source of executeRetrievalByIDQuery(PreparedStatement theStatement, int theID)
protected static ResultSet executeRetrievalByIDQuery(PreparedStatement theStatement, int theID) throws SQLException
//package com.java2s; /**//from w ww .j ava 2s. c o m * ClarescoExperienceAPI * Copyright * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * Please contact Claresco, www.claresco.com, if you have any questions. **/ import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; public class Main { protected static ResultSet executeRetrievalByIDQuery(PreparedStatement theStatement, int theID) throws SQLException { theStatement.setInt(1, theID); return theStatement.executeQuery(); } }