public static Contact getRow(String id) {
		Connection conn = null;
		Contact contactID = null;
		PreparedStatement prStGetRow = null;
		String query = "SELECT * FROM `mobilephone` WHERE id=?";

		try {
			conn = DBConnection.getConnection();
			conn.setAutoCommit(false);
			prStGetRow = conn.prepareStatement(query);
			prStGetRow.setString(1, id);
			ResultSet result = prStGetRow.executeQuery();
			if (result.first()) {
				contactID = new Contact(result.getString(1),
						result.getString(2), result.getString(3),
						result.getInt(4));
			}
			conn.commit();
		} catch (SQLException e1) {
			e1.printStackTrace();
		} catch (IOException e1) {
			e1.printStackTrace();
		} finally {
			try {
				if (prStGetRow != null)
					prStGetRow.close();
				if (conn != null) {
					conn.setAutoCommit(true);
					conn.close();
				}
			} catch (SQLException e) {
				e.printStackTrace();
			}
		}
		return contactID;
	}