PostgreSQL和Oracle对象关系存储与ORM一样吗? [英] Is PostgreSQL and Oracle Object-Relational storage the same as an ORM?
问题描述
PostgreSQL和Oracle对象关系映射的内置功能是否与Hibernate,SQLAlchemy或Doctrine等ORM相同?是否查询和使用了这些数据库,就像您从ORM取回的对象一样?
Is the built in ability of PostgreSQL and Oracle Object-Relational mapping the same as an ORM like Hibernate, SQLAlchemy, or Doctrine? Are these databases queried and used just like objects you'd get back from ORMs?
我是否误解了ORDBMS是什么? Stil学习. http://www.postgresql.org/docs/8.2/static/intro -whatis.html http://docs.oracle.com/cd/E11882_01/appdev .112/e11822/toc.htm
Do I misunderstand what an ORDBMS is? Stil learning. http://www.postgresql.org/docs/8.2/static/intro-whatis.html http://docs.oracle.com/cd/E11882_01/appdev.112/e11822/toc.htm
我也在这里找到它.
http://en.wikipedia.org/wiki/Comparison_of_object-relational_database_management_systems
推荐答案
The "O" in ORDBMS (Object Relational Database Management System) refers to some object-oriented features in PostgreSQL:
-
OID(大多数非系统表已弃用)
OIDs (mostly deprecated for non-system tables)
用户定义的类型系统,包括复合类型
User-definable type system including composite types
上下文相关的运算符和函数.
Context-sensitive operators and functions.
有待讨论的是在哪里准确划清界限.这是最近的讨论pgsql-advocacy列表,其中包含更多详细信息.
It's up for debate where to draw the line exactly. Here is a recent discussion on the pgsql-advocacy list with more details.
所有这些与"Hibernate,SQLAlchemy或Doctrine之类的ORM" 本质上完全不同.
ORM(对象关系映射)试图翻译相应编程语言的对象数据库中的关系.
All of this is very different in nature from "ORMs like Hibernate, SQLAlchemy or Doctrine".
An ORM (Object-relational mapping) is trying to translate objects of the respective programming language to relations in a database.
这篇关于PostgreSQL和Oracle对象关系存储与ORM一样吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!