Spring Boot 配置Oracle数据库
2024-09-25 07:15:59
1、添加oralce 依赖包,仓库没有则通过maven装载到本地仓库;
2、application.properties 中添加配置,特别是第一个配置项要严重注意! spring.jpa.database=oracle
spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
spring.datasource.url=jdbc:oracle:thin:@172.16.10.25:1521:torcl
spring.datasource.username=center
spring.datasource.password=centerDB12345
spring.jpa.hibernate.ddl-auto=update
最新文章
- MAC下彻底解决mysql无法插入和显示中文
- iOS开发:保持程序在后台长时间运行
- iOS 发送请求时获取cookie
- Python爬虫学习笔记——防豆瓣反爬虫
- SVN与TortoiseSVN实战:文件加锁详解
- unigui+fastreport报表打印
- extern ";C"; 含义
- python全栈开发day10
- 【HAOI2016】放旗子
- windows下mvn verify异常
- java -version 问题 : C:\ProgramData\Oracle\Java\javapath;
- 获取 MySQL 崩溃时的 core file
- Fiddler抓取https设置详解
- 792. Number of Matching Subsequences
- 《SQL Server 2008从入门到精通》--20180628
- 读书笔记_Effective_C++_条款三十八:通过复合塑模出has-a或者is-implemented-in-terms-of
- csv2txt.cpp
- sharepoint 配置个人网站容量
- flowable ProcessEngine和ProcessEngineConfiguration
- 利用WebStorm来管理你的Github