Class JDBCClubDAO

  • All Implemented Interfaces:
    ClubDAO

    public class JDBCClubDAO
    extends Object
    implements ClubDAO
    This class implements data access to the club portion of the league using JDBC.
    • Field Detail

      • logger

        private static org.slf4j.Logger logger
    • Constructor Detail

      • JDBCClubDAO

        public JDBCClubDAO()
    • Method Detail

      • setConnection

        public void setConnection​(Connection connection)
        This method injects a connection to be used by all DAO methods.
        Parameters:
        connection -
      • createVenue

        public void createVenue​(Venue venue)
        Description copied from interface: ClubDAO
        This method will create a new venue in the DB and update the provided object with the PK of that entity.
        Specified by:
        createVenue in interface ClubDAO