zoukankan      html  css  js  c++  java
  • 【Java-JPA】让Springboot启动不检查JPA的数据源配置

    #https://stackoverflow.com/questions/24074749/spring-boot-cannot-determine-embedded-database-driver-class-for-database-type
    #https://github.com/spring-projects/spring-boot/issues/4352
    #https://gist.github.com/pradp/86fa604d4a07564d9b2b
    #https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-auto-configuration.html
    #https://segmentfault.com/a/1190000004316491
    #https://blog.csdn.net/zhangjq520/article/details/53996178
    #spring.datasource.continue-on-error = true
    #spring.datasource.ignore-exception-on-pre-load = true
    #spring.datasource.initialization-fail-fast = false
    spring.autoconfigure.exclude = org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration

    #https://www.e-learn.cn/content/wangluowenzhang/179410
    #https://stackoverflow.com/questions/24074749/spring-boot-cannot-determine-embedded-database-driver-class-for-database-type
    #https://github.com/spring-projects/spring-boot/issues/4352
    #https://gist.github.com/pradp/86fa604d4a07564d9b2b
    #https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-auto-configuration.html
    #https://segmentfault.com/a/1190000004316491
    #https://blog.csdn.net/zhangjq520/article/details/53996178
    #spring.datasource.continue-on-error = true
    #spring.datasource.ignore-exception-on-pre-load = true
    #spring.datasource.initialization-fail-fast = false
    spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,
        org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,
        org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration,
        org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration
  • 相关阅读:
    JQuery基础知识--方便忘记时查看
    关于jquery.validate.js的用法
    JQuery ajax提交表单及表单验证
    thinkphp rabc权限总结
    关于jquery ajax项目总结
    中国剩余定理及其拓展 CRT&EXGCD
    bzoj 4899 记忆的轮廓 题解(概率dp+决策单调性优化)
    bzoj3307 雨天的尾巴题解及改题过程(线段树合并+lca+树上差分)
    20190614考试心态爆炸记
    fhq Treap(无旋Treap)
  • 原文地址:https://www.cnblogs.com/junneyang/p/9119734.html
Copyright © 2011-2022 走看看