-->
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.  [ 2 posts ] 
Author Message
 Post subject: load the domain model
PostPosted: Thu Dec 27, 2007 8:42 am 
Newbie

Joined: Mon Oct 02, 2006 5:34 am
Posts: 7
hy.
I create my first application with nhibernate.
The question is this :
after i save,delete,or update some custom entity i would to load all the domain model at the start of the application.
And I cant use load(id) because i dont remember all the id that i have inserted.
thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 7:28 pm 
Beginner
Beginner

Joined: Wed Jul 11, 2007 7:21 pm
Posts: 21
Location: San Diego, CA
If you're talking about a normal application, you might have something like a grid of items. You don't need to know the identifiers in that case, and Hibernate offers a very powerful system for searching.

Check out item 9.3 in this tutorial:

http://www.hibernate.org/hib_docs/nhibe ... gdata.html

_________________
http://rebelheart.squarespace.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.