java - JDBC ODBC是怎么工作的?
PHPz
PHPz 2017-04-18 09:07:35
0
1
451

今天课堂接触到JDBCODBC,老师的讲解极其简单,都是讲一些函数的如何使用函数的内容,在网上查了一些资料,部分的资料说ODBC是屏蔽了数据库底层不同的驱动,统一了API,而JDBC是在ODBC上提供了java接口,现在主要的问题有以下:

  • 数据库驱动指得是什么?和DBMS一样吗?

  • 数据库具体实现不同可以理解,但SQL是有标准的,为什么在*DBC还说是屏蔽了数据库不同的差异呢?

  • 解释上述问题后,请解释一下*DBC是怎么做到屏蔽这些差异的,就是想了解*DBC具体干了什么?简单描述一下就可以了。

  • 除了这个*DBC外,我也遇到ORM这个名词,它又是指什么?

问题较复杂,如果回答的有帮助的话,我都会点赞的。
谢谢回答。

PHPz
PHPz

学习是最好的投资!

reply all(1)
Ty80
  1. DBMS is a system used to manage databases, which includes database drivers. The so-called driver is a logical thing used to parse database files into database objects.

  2. Everyone follows the standards of
  3. SQL, but different databases have their own features and extensions.

  4. *DBCThe essence of this is the same, that is, it encapsulates the interface and calls different interfaces according to different data sources.

  5. ORM is a table design pattern, which is to design tables according to the relationship between objects, such as xiaoming,xiaoming_fangzi,xiaoming_chezi,xiaoming_laopo.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template