Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is hibernate and n-hibernate?

What is hibernate and n-hibernate? can I use it in Visual Studio 2008 for C# Web Application development ? Pls Suggest me... I am newer to asp.net web application Developement. Just I heard about Hibernate.. How can i learn and implement in easy way....

Thanks in Advance..

like image 215
user1428079 Avatar asked May 31 '12 10:05

user1428079


People also ask

What is concept of Hibernate?

Hibernate is an open source object relational mapping (ORM) tool that provides a framework to map object-oriented domain models to relational databases for web applications. Object relational mapping is based on the containerization of objects and the abstraction that provides that capacity.

What is Hibernate and why?

hibernate.org. Hibernate is free software that is distributed under the GNU Lesser General Public License 2.1. Hibernate's primary feature is mapping from Java classes to database tables, and mapping from Java data types to SQL data types. Hibernate also provides data query and retrieval facilities.

Why Hibernate is used?

Advantages Of Hibernate In Java Lightweight and open-source – Being lightweight and open-source makes it accessible and efficient. Increased performance – Using cache memory helps in fast performance. Database Independence – Being database-independent gives it the ability to work with different databases.

Why Hibernate is called ORM?

ORM stands for Object-Relational Mapping (ORM) is a programming technique for converting data between relational databases and object oriented programming languages such as Java, C#, etc.


1 Answers

Yes, You can implement NHibernate Application in VS2008 using C#. You need to download a Nhibernate SDK from http://nhforge.org/ and need to install it in your system.

Below I mentioned a brief intorduction of Hibernate and NHibernate.

Hibernate:

Hibernate is an object-relational mapping (ORM) library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database. Hibernate solves object-relational impedance mismatch problems by replacing direct persistence-related database accesses with high-level object handling functions.

Hibernate is free software that is distributed under the GNU Lesser General Public License.

Hibernates primary feature is mapping from Java classes to database tables (and from Java data types to SQL data types). Hibernate also provides data query and retrieval facilities. It also generates the SQL calls and attempts to relieve the developer from manual result set handling and object conversion and keep the application portable to all supported SQL databases with little performance overhead.

For more details please visit: http://www.hibernate.org/

NHibernate:

NHibernate is an object-relational mapping (ORM) solution for the Microsoft .NET platform: it provides a framework for mapping an object-oriented domain model to a traditional relational database. Its purpose is to relieve the developer from a significant portion of relational data persistence-related programming tasks. NHibernate is free as open source software that is distributed under the GNU Lesser General Public License. NHibernate is a port of the popular Java O/R mapper Hibernate to .NET.

For more details please visit: http://nhforge.org/

like image 67
Subhankar Avatar answered Sep 28 '22 08:09

Subhankar