码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2015-04-20 19:26:50      阅读:205      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!