类 JdbcGameDao

  • 所有已实现的接口:
    ItemWriter<Game>, org.springframework.beans.factory.InitializingBean

    public class JdbcGameDao
    extends org.springframework.jdbc.core.support.JdbcDaoSupport
    implements ItemWriter<Game>
    • 字段概要

      • 从类继承的字段 org.springframework.dao.support.DaoSupport

        logger
    • 构造器概要

      构造器 
      构造器说明
      JdbcGameDao() 
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      protected voidinitDao() 
      voidwrite​(java.util.List<? extends Game> games)
      Process the supplied data element.
      • 从类继承的方法 org.springframework.jdbc.core.support.JdbcDaoSupport

        checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate
      • 从类继承的方法 org.springframework.dao.support.DaoSupport

        afterPropertiesSet
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • initDao

        protected void initDao()
                        throws java.lang.Exception
        覆盖:
        initDao 在类中 org.springframework.dao.support.DaoSupport
        抛出:
        java.lang.Exception
      • write

        public void write​(java.util.List<? extends Game> games)
        从接口复制的说明: ItemWriter
        Process the supplied data element. Will not be called with any null items in normal operation.
        指定者:
        write 在接口中 ItemWriter<Game>
        参数:
        games - items to be written