These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Entity Manager for basic CRUD operations
PostPosted: Sat Oct 11, 2008 8:27 pm 
Beginner
Beginner

Joined: Tue Jan 22, 2008 11:33 am
Posts: 46
Hi,

does anybody know if there is an entity Manager out there which will take care of all CRUD-operations (opening session, transaction, e.g retrieving data, closing session etc.).

Thanks a lot for your feedback

antoschka


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 14, 2008 4:00 am 
Beginner
Beginner

Joined: Tue Dec 04, 2007 4:48 pm
Posts: 21
Well, the Castle-Windsor project has a nice NHIntegrationFacility, which does take care of configuring NH and setting up the session and stuff. This also features a Castle.Facilities.NHibernateIntegration.NHibernateGenericDao class, which offers all the basic CRUD operations.

In addion Billy McCafferty put up a nice introductional article on codeproject.com about NH best practices.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 14, 2008 4:55 am 
Beginner
Beginner

Joined: Tue Jan 22, 2008 11:33 am
Posts: 46
Thanks! That is what I was looking for. antoschka


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.