标签:
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