美文网首页
SpingBoot-配置文件application.proper

SpingBoot-配置文件application.proper

作者: TheUnforgiven | 来源:发表于2018-02-01 21:03 被阅读0次
    spring.datasource.url=jdbc:mysql://192.168.0.107:3306/dataBaseName?useUnicode=true&characterEncoding=UTF-8
    spring.datasource.username=xxx
    spring.datasource.password=xxx
    spring.datasource.driver-class-name=com.mysql.jdbc.Driver
    
    spring.jpa.show-sql=true
    spring.jpa.generate-ddl=false  
    spring.jpa.hibernate.ddl-auto=none
    
    logging.level.root=INFO
    logging.level.org.hibernate=INFO
    logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
    #logging.level.org.hibernate.type.descriptor.sql.BasicExtractor=TRACE
    logging.level.com.itmuch=DEBUG
    
    #thymeleaf start
    spring.thymeleaf.mode=HTML5
    spring.thymeleaf.encoding=UTF-8
    spring.thymeleaf.content-type=text/html
    spring.thymeleaf.cache=false
    #spring.thymeleaf.prefix=classpath:/templates/  
    spring.thymeleaf.suffix=.html  
    #thymeleaf end
    

    相关文章

      网友评论

          本文标题:SpingBoot-配置文件application.proper

          本文链接:https://www.haomeiwen.com/subject/ibejzxtx.html