springboot连接rac oracle

#[spring]:配置应用名,数据源等  
spring:
  application:
    name: xxxxServiceXX
  mvc:
    async: 
      request-timeout: 60000
  datasource:
    url: jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = xx.11.107.xxx)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = xx.11.107.xxx)(PORT = 1521)) (LOAD_BALANCE = yes)(failover = yes) (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = XXXX)))
    username: xxxx
    password: xxxxxxxxx
    driver-class-name: oracle.jdbc.driver.OracleDriver
  jpa:
    show-sql: false   

猜你喜欢

转载自blog.csdn.net/myfmyfmyfmyf/article/details/97393953