public boolean addTrainerToBooking(Connection conn) throws SQLException {
        boolean success = false;
        int trainerID = 0;
        String sportsType = sb.getSportsType();
        String SQLString1 = "select trainerID from trainer where sportstype = ?";
        String SQLString2 = "insert into trainerBooking values(?,to_timestamp(?))";
        PreparedStatement statement1 = null;
        PreparedStatement statement2 = null;

        try {
            statement1 = conn.prepareStatement(SQLString1);
            statement1.setString(1, sportsType);
            ResultSet rs = statement1.executeQuery();
            while (rs.next()) {
                trainerID = rs.getInt(1);
            }
        } catch (Exception e) {
            System.out.println("Fail in BookingMapper - addTrainerToBooking #1");
            System.out.println(e.getMessage());
        }
        try {

            statement2 = conn.prepareStatement(SQLString2);
            statement2.setInt(1, trainerID);
            statement2.setString(2, sb.getSportsDate());
            success = true;
            statement2.executeUpdate();
        } catch (Exception e) {
            System.out.println("Fail in Booking Mapper - AddTrainerToBooking #2");
            System.out.println(e.getMessage());
        }
        return success;

    }