学习笔记-v1.1

server:
  port: 8080
spring:
  application:
      #应用名称 , 可选
    name: reggie_take_out
  datasource:
    druid:
      driver-class-name: com.mysql.cj.jdbc.Driver
      url: jdbc:mysql://localhost:3306/reggie?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
      username: root
      password: root
mybatis-plus:
  configuration:
    #在映射实体或者属性时,将数据库中表名和字段名中的下划线去掉,按照驼峰命名法映射 address_book ---> AddressBook
    map-underscore-to-camel-case: true
    #日志输出
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  global-config:
    db-config:
      id-type: ASSIGN_ID

1    boot程序内置Tomcat服务器
2    yml配置文件可以指定该应用程序的名称和容器的端口
3    lombok中-@Slf4j工具
4    spring架构学习-IOC/DI*AOP*Spring JDBC*spring mvc*spring boot
5    mybatis事务管理分为两大类 JDBC*Management
6    Mysql内置有事务管理
7    spring有整合mybatis的事务管理(Management)
8    spring依赖 spring-context 
9    spring配置文件 applicationContext.xml
10    spring默认反射构造方法实例化对象
11    spring配置文件 bean定义 <bean id= name= class= scope= />
12    spring配置文件 bean中定义属性 <properties name= ref/value= />
13    spring加载IOC容器接口类为ApplicationContext 默认配置方式用ClassPathXml接口实现多态
14    spring框架实例化对象方式除了10中反射构造外还有静态工厂和实例工厂和实例工厂变种

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值