什么java spring DB访问verison与oracle和JDBC驱动程序一起使用? [英] What java spring DB acces verison to use with oracle and JDBC driver?

查看:110
本文介绍了什么java spring DB访问verison与oracle和JDBC驱动程序一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想知道哪个版本的JDBC应该使用Oracle DB 12.1和Java 8.

我'我读过:ojdbc7.jar中有:JDBC 4.1

原因很好。



但是我应该怎么用于DB使用Spring访问数据库?

什么是不同的Spring项目正确的版本(JPA,Data,JdbcTemplate)



< b>我尝试了什么:



我目前正在使用ojdbc7.jar替换直接JDBC - 但仍不确定Spring框架。

解决方案

请参阅使用入门·使用JDBC和Spring访问关系数据 [ ^ ]。

Hi,

I would like to know what version of JDBC I should use Oracle DB 12.1 and Java 8.
I've read that there is: JDBC 4.1 in ojdbc7.jar
That would be fine of cause.

But what should I use for DB access with Spring to access the DB?
What is for the different Spring Projects the right version (JPA, Data, JdbcTemplate)

What I have tried:

I currently replacing the direct JDBC using ojdbc7.jar - but still not sure about the Spring framework.

解决方案

See Getting Started · Accessing Relational Data using JDBC with Spring[^].


这篇关于什么java spring DB访问verison与oracle和JDBC驱动程序一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆