Buggy code:
public class RMSModel { String JDBC_DRIVER = "com.mysql.jdbc.Driver" ; String DB_URL = "jdbc:mysql:////localhost//rms" ; String USER = "root" ; String PASS = "" ; String sql ; Statement st ; Connection con ; ResultSet rs = null ; public RMSModel ( ) { } public void closeConn ( ) throws Exception { } public boolean canLogin ( String username , String password ) throws Exception { } public boolean nameExists ( String name ) throws Exception { } public boolean clientExists ( String name ) throws Exception { } public ResultSet getUser ( String username , String password ) throws Exception { } public boolean addOutlook ( String name , String start , String end , String type , String status , String bUnit , int resNeeded , String reference , int created_by , String created_date ) throws Exception { } public boolean addProject ( String name , int clientId , String start , String end , String type , String status , String bUnit , String reference , int created_by , String created_date ) throws Exception { } public boolean addClient ( String name , int addedBy , String addedDate ) throws Exception { } public boolean addFeedback ( int taskId , String subject , String content , int added_by , String added_date ) throws Exception { } public ResultSet getFeedbacks ( int taskId ) throws Exception { } public int getFbCount ( ) throws Exception { } public int getRmCount ( ) throws Exception { } public void readAllFb ( int taskId ) throws Exception { } public void unreadAllFb ( int taskId ) throws Exception { } public void readFeedback ( int id ) throws Exception { } public void unreadFeedback ( int id ) throws Exception { } public void readAllRm ( int projId ) throws Exception { } public void unreadAllRm ( int projId ) throws Exception { } public void readRemarks ( int id ) throws Exception { } public void unreadRemarks ( int id ) throws Exception { } public boolean addRemarks ( int projId , String subject , String content , int added_by , String added_date ) throws Exception { } public ResultSet getRemarks ( int projId ) throws Exception { PreparedStatement ps ; <START_BUG> sql = "select<seq2seq4repair_space>remarks.*,client.*<seq2seq4repair_space>from<seq2seq4repair_space>remarks<seq2seq4repair_space>join<seq2seq4repair_space>client<seq2seq4repair_space>on<seq2seq4repair_space>client.client_id<seq2seq4repair_space>=<seq2seq4repair_space>remarks.added_by<seq2seq4repair_space>where<seq2seq4repair_space>project_id=?<seq2seq4repair_space>order<seq2seq4repair_space>by<seq2seq4repair_space>remarks.added_date<seq2seq4repair_space>desc" ; <END_BUG> System . out . println ( ( ( ( sql ) + "<seq2seq4repair_space>" ) + projId ) ) ; ps = con . prepareStatement ( sql ) ; ps . setInt ( 1 , projId ) ; rs = ps . executeQuery ( ) ; return rs ; } public ResultSet getOutlook ( ) throws Exception { } public ResultSet getSummary ( ) throws Exception { } public ResultSet getEmployees ( ) throws Exception { } public ResultSet getEmployeesNotTask ( int taskId ) throws Exception { } public ResultSet getResource ( int resId ) throws Exception { } public ResultSet getMyProjects ( int resId ) throws Exception { } public ResultSet getTotalResources ( int resId , int year ) throws Exception { } public ResultSet getSpecificEmployeeTotalEffort ( int year , int resId ) throws Exception { } public ResultSet getSpecificEmployee ( int id ) throws Exception { } public ResultSet getResourcesTasks ( int taskId ) throws Exception { } public ResultSet getTasksProjects ( int projId ) throws Exception { } public String getTaskName ( int taskId ) throws Exception { } public String getAdminEmail ( ) throws Exception { } public void updateEmail ( String email ) throws Exception { } public String getResName ( int id ) throws Exception { } public String getCliName ( int id ) throws Exception { } public ResultSet getTaskFbcount ( int taskId ) throws Exception { } public ResultSet getProjRmcount ( int projId ) throws Exception { } public ResultSet getEmployeeProjects ( int resId ) throws Exception { } public String getProjectName ( int projId ) throws Exception { } public ResultSet getProject ( int projId ) throws Exception { } public boolean delProject ( int projectId ) throws Exception { } public boolean delSummary ( int projectId ) throws Exception { } public boolean editOutlook ( String name , String start , String end , String type , String status , String bUnit , int resNeeded , int projectId , int updated_by , String updated_date ) throws Exception { } public boolean editSummary ( String name , int clientId , String start , String end , String type , String bUnit , int projectId , String miles , int updated_by , String updated_date ) throws Exception { } public boolean editStatus ( int taskId , String status ) throws Exception { } public boolean assignResource ( int empId , int taskId , int projId , int year , float jan , float feb , float mar , float apr , float may , float jun , float jul , float aug , float sep , float oct , float nov , float dece ) throws Exception { } public boolean editResource ( int effortId , int performance , int year , float jan , float feb , float mar , float apr , float may , float jun , float jul , float aug , float sep , float oct , float nov , float dece ) throws Exception { } public boolean deleteResource ( int taskId , int empId ) throws Exception { } public int getTotalResources ( ) throws Exception { } public int getTotalAlliance ( ) throws Exception { } public int getTotalRow ( ) throws Exception { } public int getTotalJapan ( ) throws Exception { } public int getTotalPhilippines ( ) throws Exception { } public int getNumberOfUnassigned ( ) throws Exception { } public ResultSet getClientProject ( ) throws Exception { } public ResultSet getClientProject ( int client_id ) throws Exception { } public ResultSet getClient ( ) throws Exception { } public ResultSet getSpecificClient ( int id ) throws Exception { }

Fix:
sql = "select<seq2seq4repair_space>remarks.*,client.*<seq2seq4repair_space>from<seq2seq4repair_space>remarks<seq2seq4repair_space>join<seq2seq4repair_space>client<seq2seq4repair_space>on<seq2seq4repair_space>client.client_id<seq2seq4repair_space>=<seq2seq4repair_space>remarks.added_by<seq2seq4repair_space>where<seq2seq4repair_space>project_id=?" ;