The Artima Developer Community
Sponsored Link

Java Community News
NHibernate 1.2 Brings Java O/R Mapping Framework to .NET 2.0

4 replies on 1 page. Most recent reply: May 5, 2007 1:27 PM by Mileta Cekovic

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 4 replies on 1 page
Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

NHibernate 1.2 Brings Java O/R Mapping Framework to .NET 2.0 Posted: May 3, 2007 3:01 PM
Reply to this message Reply
Summary
NHibernate is the .NET port of the popular Java object-relational mapping framework. The latest NHibernate release brings the API familiar to Java developers to .NET 2.0, including support for stored procedures.
Advertisement

As arguably the most popular Java object-relational mapping framework, Hibernate is a well-known API to enterprise Java developers. The recently released NHibernate 1.2 brings that API to the .NET 2.0 platform, providing object-relational mapping for applications written in C#.

In announcing the latest release, NHibernate project lead Sergey Koshcheyev noted the most important features of this release:

  • Support for generic collections
  • Custom SQL, including stored procedures
  • Improved legacy database support
  • Subselect fetching
  • Enhancements to Criteria API
  • Filters
  • Enhanced user types support
  • Update batching on MS SQL Server
  • Multi-queries
  • SysCache2
  • Database dialects

How important is the availability of non-Java ports of popular Java APIs to you?


Jeff Ratcliff

Posts: 242
Nickname: jr1
Registered: Feb, 2006

Re: NHibernate 1.2 Brings Java O/R Mapping Framework to .NET 2.0 Posted: May 3, 2007 6:38 PM
Reply to this message Reply
I'm going to ask this from the point of view of somebody who knows very little about Hibernate so I might be totally wrong but:

Doesn't Hibernate offer additional functionality to Java that already exists (albeit in a different form) in .NET? Is the purpose of NHibernate to allow developers that want to use .NET to use the approach they're familiar with even if the same functionality is available directly in .NET?

Stanislas Klimoff

Posts: 6
Nickname: graven
Registered: May, 2007

Re: NHibernate 1.2 Brings Java O/R Mapping Framework to .NET 2.0 Posted: May 4, 2007 2:21 AM
Reply to this message Reply
Actually, there are no O/R mapping facilities in .NET at this time. Microsoft is expected to add it in .NET 3.5, the so-called Entity Framework, coupled with LINQ techniques. NHibernate is less coupled with language and has being used for years already.

Jeff Ratcliff

Posts: 242
Nickname: jr1
Registered: Feb, 2006

Re: NHibernate 1.2 Brings Java O/R Mapping Framework to .NET 2.0 Posted: May 4, 2007 8:36 AM
Reply to this message Reply
> Actually, there are no O/R mapping facilities in .NET at
> this time. Microsoft is expected to add it in .NET 3.5,
> the so-called Entity Framework, coupled with LINQ
> techniques. NHibernate is less coupled with language and
> has being used for years already.

Well, the .NET DataSet class provides object-oriented access to databases, but I guess it doesn't strictly qualify as an O/R Mapping Framework.

Mileta Cekovic

Posts: 2
Nickname: mcekovic
Registered: Apr, 2007

Re: NHibernate 1.2 Brings Java O/R Mapping Framework to .NET 2.0 Posted: May 5, 2007 1:27 PM
Reply to this message Reply
> > Actually, there are no O/R mapping facilities in .NET
> at
> > this time. Microsoft is expected to add it in .NET 3.5,
> > the so-called Entity Framework, coupled with LINQ
> > techniques. NHibernate is less coupled with language
> and
> > has being used for years already.
>
> Well, the .NET DataSet class provides object-oriented
> access to databases, but I guess it doesn't strictly
> qualify as an O/R Mapping Framework.

Object-oriented database access API and O/R Mapping framework are two completely different things! As a matter of fact, most O/R mapping frameworks under the hood usually use some OO database access API, like JDBC or ADO.NET. O/R Mapping frameworks maps domain driven object design to relational database, where OO DB API can be used with designs other then domain driven.

Flat View: This topic has 4 replies on 1 page
Topic: DataDirect Releases XML Converters Previous Topic   Next Topic Topic: What are Your Hibernate Cache Preferences?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use