Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

CUBRID NHibernate Support

NHibernate is a .NET port of the well-known Hibernate Java framework.

It is an open source project which implements persisting objects (an ORM) to and from an underlying relational database – MySQL, PostgreSQL, SQL Server, Oracle etc. (The term object/relational mapping (ORM) refers to the technique of mapping a data representation from an object model to a relational data model with a SQL-based schema).

Useful Links

Source code

Compiled Libraries


       1.jpg    2.jpg

       3.jpg    4.jpg




Some of the most important NHibernate features are:

  • It uses a natural programming model - NHibernate supports natural OO idiom; inheritance, polymorphism, composition and the .NET collections framework, including generic collections.
  • It uses .NET conventions and idioms
  • It has support for fine-grained object models - a rich variety of mappings for collections and dependent objects
  • It supports custom SQLs
  • NHibernate not only takes care of the mapping from .NET classes to database tables (and from .NET data types to SQL data types), but also provides data query and retrieval facilities and can significantly reduce development time otherwise spent with manual data handling in SQL and ADO.NET.
  • Its free/open source - NHibernate is licensed under the LGPL (Lesser GNU Public License)
  • It has a very strong community and it is very well maintained:


NHibernate's goal is to relieve the developer from 95 percent of common data persistence related programming tasks” (

The scope of the CUBRID NHibernate project, presented in this wiki page, is to add support in NHibernate for CUBRID.

To achieve this goal, we have:

  • Added support in the NHibernate Core for CUBRID
  • Updated the implementation of the CUBRID ADO.NET driver
  • Created a series of tutorials to help you start fast with NHibernate in CUBRID

Beside all these, we took a step further and we added CUBRID support to one of the best NHibernate automatic code generators - NMG.

Not the least, as always for the API/drivers we have developed for CUBRID, we developed a rich suite of automated test cases, which can also provide you immediately with out-of-the-box code examples to start with.

If you want to find out how we implemented CUBRID support, you can read the technical implementation documentation.

comments powered by Disqus
Page info
viewed 3855 times
translations en
posted 4 years ago by
updated 4 years ago by
View revisions
Share this article