String sql = "select * from Accessory where BugID='" + bugID +"' order by ACCESSORYNO";
String sql2 = "select BugForm.bugID,BugForm.tester,Project.Name,ProjectModule.name,TestingPoint.TestingPointName,FunctionBlock.FunctionBlockName from BugForm,ProjectModule,Project,TestingPoint,FunctionBlock where BugForm.project=project.id and BugForm.moduleID=ProjectModule.id and BugForm.TestingPointID=TestingPoint.TestingPointID and TestingPoint.FunctionBlockID=FunctionBlock.FunctionBlockID and BugForm.bugID='"+bugID+"'";
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs = null;