单项选择题
A.updateB.insertC.queryForObjectD.queryForList
A.<property name="driverClass"value="${jdbc.driverClass}"></property>B.<property name="jdbcUrl"value="${jdbc.jdbcUrl}"></property>C.<context:property-placeholder location="classpath:db.properties"/>D.<property name="password"value="${jdbc.password}"></property>
A.<property name="driverClass"value="com.mysql.jdbc.Driver"></property>B.<context:component-scan base-package="com.mhys"></context:component-scan>C.<property name="user"value="root"></property>D.<property name="jdbcUrl"value="jdbc:mysql://127.0.0.1:3306/mysql"></property>
A.在方法上加该注解会在项目启动的时候执行该方法B.可用于加载数据字典C.可用于定时任务D.在方法上加该注解会在项目结束的时候执行该方法
微信扫一扫,加关注免费搜题