---
title: "ORM软件清单"
author: "lsjlym"
date: "2012-01-29T11:25:00Z"
tags: []
slug: "orm"
draft: false
lastmod: "2015-09-08T20:25:38Z"
id: 2241855
url: "https://lsjlym.iteye.com/blog/2241855"
---

From Wikipedia, the free encyclopedia

This is a list of well-known [object-relational mapping](/wiki/Object-relational_mapping "Object-relational mapping") software. It is not up-to-date or all-inclusive.

## Contents

- [1C++](#C.2B.2B)
- [2Flex](#Flex)
- [3Java](#Java)
- [4Groovy](#Groovy)
- [5.NET](#.NET)
- [6Object Pascal (Delphi)](#Object_Pascal_.28Delphi.29)
- [7Objective-C, Cocoa](#Objective-C.2C_Cocoa)
- [8Perl](#Perl)
- [9PHP](#PHP)
- [10Python](#Python)
- [11Ruby](#Ruby)
- [12Smalltalk](#Smalltalk)
- [13Visual Basic 6.0](#Visual_Basic_6.0)
- [14See also](#See_also)
- [15References](#References)

## C++

Name [Open source](/wiki/Open_source "Open source") [License](/wiki/Software_license "Software license") [Framework](/wiki/Software_framework "Software framework")-specific [Qt](/wiki/Qt_%28framework%29 "Qt (framework)") support [Boost](/wiki/Boost_C%2B%2B_Libraries "Boost C++ Libraries") support [MySQL](/wiki/MySQL "MySQL") support [PostgreSQL](/wiki/PostgreSQL "PostgreSQL") support [SQLite](/wiki/SQLite "SQLite") support [XML](/wiki/XML "XML") support [Oracle](/wiki/Oracle_database "Oracle database") support [MSSQL Server](/wiki/Microsoft_SQL_Server "Microsoft SQL Server") support [ODBC](/wiki/ODBC "ODBC") support [IBM DB2](/wiki/IBM_DB2 "IBM DB2") support [LiteSQL](/wiki/LiteSQL "LiteSQL") Yes [BSD](/wiki/BSD_licenses "BSD licenses") no Yes Yes Yes Yes [ODB](/wiki/ODB_%28C%2B%2B%29 "ODB (C++)") Yes [GPL](/wiki/GNU_General_Public_License "GNU General Public License")/other no Yes Yes Yes Yes Yes Yes [QDjango](http://opensource.bolloretelecom.eu/projects/qdjango/) Yes [LGPL](/wiki/GNU_Lesser_General_Public_License "GNU Lesser General Public License") yes, Qt Yes Yes Yes Yes Yes [QxOrm](http://www.qxorm.com/qxorm_en/home.html) Yes [LGPL](/wiki/GNU_Lesser_General_Public_License "GNU Lesser General Public License") yes, Qt Yes Yes Yes Yes Yes Yes Yes Yes Yes [Wt::Dbo](/wiki/Wt_-_Web_toolkit "Wt - Web toolkit") Yes [GPL](/wiki/GNU_General_Public_License "GNU General Public License") / commercial yes, Wt No Yes Yes Yes Yes No No No No No

## Flex

- [Athena Framework](/wiki/Athena_Framework "Athena Framework"), open source Flex ORM, native support for[multitenancy](/wiki/Multitenancy "Multitenancy")

## Java

- [Cayenne](/wiki/Apache_Cayenne "Apache Cayenne"), [Apache](/wiki/Apache_Software_Foundation "Apache Software Foundation"), open source for Java
- [Kodo](/wiki/Apache_OpenJPA "Apache OpenJPA"), commercial implementation of both[Java Data Objects](/wiki/Java_Data_Objects "Java Data Objects") and[Java Persistence API](/wiki/Java_Persistence_API "Java Persistence API")
- [Torque](/wiki/Apache_Torque "Apache Torque"), an object-relational mapper for Java
- [Athena Framework](/wiki/Athena_Framework "Athena Framework"), open source Java ORM, native support for multitenancy SaaS and remoting to[Adobe Flex](/wiki/Adobe_Flex "Adobe Flex")
- [Carbonado](/wiki/Carbonado_%28Java%29 "Carbonado (Java)"), open source framework, backed by[Berkeley DB](/wiki/Berkeley_DB "Berkeley DB") or [JDBC](/wiki/Java_Database_Connectivity "Java Database Connectivity")
- [Ebean](/wiki/Ebean "Ebean"), open source ORM framework
- [EclipseLink](/wiki/EclipseLink "EclipseLink"), Eclipse persistence platform
- [Enterprise Objects Framework](/wiki/Enterprise_Objects_Framework "Enterprise Objects Framework"), Mac OS X/Java, part of Apple[WebObjects](/wiki/WebObjects "WebObjects")
- [Hibernate](/wiki/Hibernate_%28Java%29 "Hibernate (Java)"), open source ORM framework, widely used
- [MyBatis](/wiki/MyBatis "MyBatis"), formerly named iBATIS, has .NET port
- [iBATIS](/wiki/IBATIS "IBATIS"), maintained by [ASF](/wiki/Apache_Software_Foundation "Apache Software Foundation"), inactive as of 2010
- [Java Data Objects](/wiki/Java_Data_Objects "Java Data Objects") (JDO)
- [Java Object Oriented Querying](/wiki/Java_Object_Oriented_Querying "Java Object Oriented Querying") (jOOQ)
- [Java Persistence API](/wiki/Java_Persistence_API "Java Persistence API") (JPA)
- [DataNucleus](/wiki/DataNucleus "DataNucleus"), open source JDO and JPA implementation
- [JPOX](/wiki/JPOX "JPOX"), open source JDO 2 reference implementation
- [Object Relational Bridge](/wiki/Object_Relational_Bridge "Object Relational Bridge") ([Apache](/wiki/Apache_Software_Foundation "Apache Software Foundation") OJB), an object-relational mapper for Java; as of 2011/01/16,[Apache](/wiki/Apache_Software_Foundation "Apache Software Foundation") ObJectRelationalBridge was retired
- [OpenJPA](/wiki/OpenJPA "OpenJPA"), [Apache](/wiki/Apache_Software_Foundation "Apache Software Foundation"), open source, supports JPA API
- [ORMLite](/wiki/ORMLite "ORMLite"), lightweight open source framework supporting JDBC and Android
- [Sormula](http://www.sormula.org/), lightweight open source ORM
- [TopLink](/wiki/TopLink "TopLink") by Oracle
- [QuickDB ORM](/wiki/QuickDB_ORM "QuickDB ORM"), open source ORM framework (GNU LGPL)
- [JEPLayer](/w/index.php?title=JEPLayer&action=edit&redlink=1 "JEPLayer (page does not exist)"), ORM focused on JDBC and JTA transactions (Apache v2)
- [ObjectDB](/wiki/ObjectDB "ObjectDB")

## Groovy

- [GORM](/wiki/Gorm_%28computing%29 "Gorm (computing)")

## .NET

- [ADO.NET Entity Framework](/wiki/ADO.NET_Entity_Framework "ADO.NET Entity Framework"), included in .NET Framework 3.5 SP1 and above
- [AgileFx](/wiki/AgileFx "AgileFx"), open source
- [Base One Foundation Component Library](/wiki/Base_One_Foundation_Component_Library "Base One Foundation Component Library"), free or commercial
- [Dapper](http://code.google.com/p/dapper-dot-net/), Simple SQL object mapper for ADO.NET
- [Devart](/wiki/Devart_%28company%29 "Devart (company)") LinqConnect, commercial, an ORM solution for[Oracle](/wiki/Oracle_Database "Oracle Database"), [MySQL](/wiki/MySQL "MySQL"), [PostgreSQL](/wiki/PostgreSQL "PostgreSQL"), and [SQLite](/wiki/SQLite "SQLite")
- [Castle ActiveRecord](/wiki/Castle_ActiveRecord "Castle ActiveRecord"), ActiveRecord for .NET, open source
- [DatabaseObjects](/wiki/DatabaseObjects "DatabaseObjects") .NET, open source
- [DataObjects.NET](/wiki/DataObjects.NET "DataObjects.NET"), commercial
- [DevForce](/wiki/DevForce "DevForce"), commercial, N-tier
- [ECO](/wiki/ECO_%28Domain_Driven_Design%29 "ECO (Domain Driven Design)"), commercial but free use for up to 12 classes
- [EntitySpaces](/wiki/EntitySpaces "EntitySpaces"), commercial
- [Habanero](/wiki/Habanero.NET "Habanero.NET"), free open source enterprise application framework with a free code generating tool
- [MyBatis](/wiki/MyBatis "MyBatis"), free open source, formerly named iBATIS
- [iBATIS](/wiki/IBATIS "IBATIS"), free open source, maintained by[ASF](/wiki/Apache_Software_Foundation "Apache Software Foundation") but now inactive.
- [LINQ to SQL](/wiki/Language_Integrated_Query#LINQ_to_SQL "Language Integrated Query"), included in .NET Framework 3.5
- [LLBLGen Pro](/wiki/LLBLGen_Pro "LLBLGen Pro"), commercial
- [Mintiera](http://www.mintiera.com/), free or commercial, creates open source by reverse mapping physical data model
- [Neo](/wiki/Neo_%28object-relational_toolset%29 "Neo (object-relational toolset)"), open source
- [NHibernate](/wiki/NHibernate "NHibernate"), open source
- [nHydrate](/wiki/NHydrate "NHydrate"), open source
- [ObjectMapper .NET](/wiki/ObjectMapper_.NET "ObjectMapper .NET"), GPL and commercial license
- [OpenAccess ORM](/wiki/OpenAccess_ORM "OpenAccess ORM"), by Telerik free or commercial
- [Persistor.NET](/wiki/Persistor.NET "Persistor.NET"), free or commercial
- [Quick Objects](/wiki/Quick_Objects "Quick Objects"), free or commercial
- [Signum Framework](/wiki/Signum_Framework "Signum Framework"), open source
- [SubSonic](/wiki/SubSonic_%28software%29 "SubSonic (software)"), open source
- [XPO](/wiki/XPO "XPO"), commercial, by DevExpress

## Object Pascal (Delphi)

- [Bold for Delphi](/wiki/Bold_for_Delphi "Bold for Delphi")
- [ECO](/wiki/ECO_%28Domain_Driven_Design%29 "ECO (Domain Driven Design)") by Capable Objects, available for Delphi 2007 and Delphi Prism 2010
- [TMS Aurelius](http://www.tmssoftware.com/site/aurelius.asp) - by TMS Software
- [mORMot framework](http://http//mormot.net) which is an Open Source Client-Server ORM for Delphi 6 and up

## Objective-C, Cocoa

- [Core Data](/wiki/Core_Data "Core Data"), object graph management framework with several persistent stores, ships with Mac OS X and iOS

## Perl

- [DBIx::Class](/wiki/DBIx::Class "DBIx::Class")
- [Rose-DB-Object](http://search.cpan.org/dist/Rose-DB-Object/)

## PHP

- [CakePHP](/wiki/CakePHP "CakePHP"), ORM and framework for PHP5, open source (scalars, arrays, objects); based on database introspection, no class extending
- [CodeIgniter](/wiki/CodeIgniter "CodeIgniter"), framework that includes an ActiveRecord implementation
- [MVC MED](/w/index.php?title=MVC_MED&action=edit&redlink=1 "MVC MED (page does not exist)"), open source MVC with basic functions integrated, and a mapping classes generator from a MySQL database.
- [Doctrine](/wiki/Doctrine_%28PHP%29 "Doctrine (PHP)"), open source ORM for PHP 5.2.3, 5.3.X. Free software (GNU LGPL)
- [PdoMap](/wiki/PdoMap_%28PHP%29 "PdoMap (PHP)"), open source ORM for PHP 5.x, inspired by Hibernate, free software (GNU LGPL)
- [Eloquent ORM](/w/index.php?title=Eloquent_ORM&action=edit&redlink=1 "Eloquent ORM (page does not exist)"), ORM bundled with the Laravel PHP micro framework
- [Kohana](/w/index.php?title=Kohana_Framework&action=edit&redlink=1 "Kohana Framework (page does not exist)"), framework that includes an ActiveRecord implementation
- [Propel](/wiki/Propel_%28PHP%29 "Propel (PHP)"), ORM and query-toolkit for PHP5, inspired by[Apache](/wiki/Apache_Software_Foundation "Apache Software Foundation") Torque, free software, MIT
- [Rocks](/wiki/Rocks_%28PHP%29 "Rocks (PHP)"), open source ORM for PHP 5.1 plus, free for non-commercial use, GPL
- [Qcodo](/wiki/Qcodo "Qcodo"), ORM and framework for PHP5, open source
- [Redbean](/wiki/Redbean_%28software%29 "Redbean (software)"), ORM layer for PHP5, creates and maintains tables on the fly, open source, BSD
- [Torpor](/wiki/Torpor_%28PHP%29 "Torpor (PHP)"), open source ORM for PHP 5.1 plus, free software, MIT, database and OS agnostic
- [Yii](/wiki/Yii "Yii"), ORM and framework for PHP5, released under the BSD license. Based on the ActiveRecord pattern.
- [FuelPHP](/w/index.php?title=FuelPHP&action=edit&redlink=1 "FuelPHP (page does not exist)"), ORM and framework for PHP 5.3, released under the MIT license. Based on the ActiveRecord pattern.
- [Zend Framework](/wiki/Zend_Framework "Zend Framework"), framework that includes a table data gateway and row data gateway implementations.

## Python

- [Dejavu](http://www.aminus.net/dejavu/), Open Source thread-safe Object-Relational Mapper for Python applications
- [Django](/wiki/Django_%28web_framework%29 "Django (web framework)"), ORM included in Django framework, open source
- [SQLAlchemy](/wiki/SQLAlchemy "SQLAlchemy"), open source
- [SQLObject](/wiki/SQLObject "SQLObject"), open source
- [Storm](/wiki/Storm_%28software%29 "Storm (software)"), open source (LGPL 2.1) developed at[Canonical Ltd.](/wiki/Canonical_Ltd. "Canonical Ltd.")
- [Tryton](/wiki/Tryton "Tryton"), open source
- [web2py](/wiki/Web2py "Web2py"), ORM named DAL is included in web2py framework, open source

## Ruby

- [ActiveRecord](/wiki/ActiveRecord_%28Rails%29 "ActiveRecord (Rails)"), part of[Ruby on Rails](/wiki/Ruby_on_Rails "Ruby on Rails"), open source
- [Datamapper](/wiki/Datamapper "Datamapper")
- [iBATIS](/wiki/IBATIS "IBATIS"), free open source

## Smalltalk

- [TOPLink/Smalltalk](/wiki/TopLink "TopLink"), by Oracle, the Smalltalk predecessor of the Java version of TOPLink

## Visual Basic 6.0

- [DatabaseObjects](/wiki/DatabaseObjects "DatabaseObjects"), open source

## See also

- [Comparison of object-relational mapping software](/wiki/Comparison_of_object-relational_mapping_software "Comparison of object-relational mapping software")