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
  • 相关阅读:
    advacing lnux program 互斥信号量[copy]
    线程专有数据(ThreadSpecific Data)
    advacing lnux program 条件变量[copy]
    advacing lnux program Thread Cancelation[copy]
    sql 按序号修改
    pku2941 Homogeneous Squares
    pku3051 Satellite Photographs
    pku1222 EXTENDED LIGHTS OUT
    pku3468 A Simple Problem with Integers
    pku2945 Find the Clones
  • 原文地址:https://www.cnblogs.com/junneyang/p/9119734.html
Copyright © 2011-2022 走看看