首页 > 数据库技术 > 详细

spring hibernate 连接sqlserver 数据库的时候还需要jdbc包吗?

时间:2015-04-20 19:25:26      阅读:254      评论:0      收藏:0      [点我收藏+]

1、介绍-首先查看微软官方对jdbc的介绍。

https://msdn.microsoft.com/zh-cn/data/aa937724.aspx

Microsoft JDBC Driver for SQL Server

In our continued commitment to interoperability, Microsoft provides a Java Database Connectivity (JDBC) driver for use with SQL Server, SQL Azure, and Parallel Data Warehouse (PDW). The Microsoft JDBC Driver for SQL Server is available at no additional charge, and provides Java Database Connectivity from any Java application, application server, or Java-enabled applet. This driver is a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs).

The Microsoft JDBC Driver for SQL Server has been tested against major application servers such as IBM WebSphere, and SAP NetWeaver.

ok,我们理解了,jdbc提供了一系列的接口用于数据库操作。实际上hibernate只是一种ORM的框架实现。他要想完成对数据库的操作也需要通过调用JDBC的API来实现。

spring hibernate 连接sqlserver 数据库的时候还需要jdbc包吗?

原文:http://my.oschina.net/u/2308739/blog/403927

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!