public ArrayList<Ticket> createTicketArrayListByWorker(int workerId) {
		ArrayList<Ticket> result = new ArrayList<Ticket>();
		ResultSet rs = null;
		PreparedStatement statement = null;
		
		try {
			statement = conn.prepareStatement("select * from Tickets where WorkerID_FK=?");
			statement.setInt(1, workerId);
			
			rs = statement.executeQuery();

			while (rs.next()) {
				int dbid;
				int workerid;
				String subject;
				boolean pending;
				boolean active;
				boolean closed;
				
				dbid = rs.getInt("TicketID");
				workerid = rs.getInt("WorkerID_FK");
				subject = rs.getString("Subject");
				pending = rs.getBoolean("Pending");
				active = rs.getBoolean("Active");
				closed = rs.getBoolean("Closed");
				
				Ticket temp = ModelFactory.createTicket(dbid, workerid, subject, pending, active, closed);
				result.add(temp);
			}
		} catch(SQLException e){
			e.printStackTrace();
		} finally {
			try { if (rs != null) rs.close(); } catch (Exception e) {}
			try { if (statement != null) statement.close(); } catch (Exception e) {}
		}
		
		return result;
	}