spring hibernate 鏈接sqlserver 數據庫的時候還須要jdbc包嗎?

一、介紹-首先查看微軟官方對jdbc的介紹。數據庫

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

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).ide

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

ok,咱們理解了,jdbc提供了一系列的接口用於數據庫操做。實際上hibernate只是一種ORM的框架實現。他要想完成對數據庫的操做也須要經過調用JDBC的API來實現。server

相關文章
相關標籤/搜索