-->
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: EJB and filter
PostPosted: Wed Jan 28, 2004 4:24 pm 
Newbie

Joined: Thu Dec 04, 2003 3:10 pm
Posts: 9
Location: Rio de Janeiro, Brazil
Hi,

I have a web application that basically lists some objects (about 200) from a database. I want to create a web page that contains a lot of criterias that will filter these objects according with user selection.

My question is about the best way to do this. All my business logic, i.e. access to the database, is located on EJB container in a Stateless EJBs. I want to create my query with the new criteria API but I don


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 28, 2004 5:36 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
The last one, i suppose.

Check out the Example query API.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 28, 2004 7:25 pm 
Newbie

Joined: Thu Dec 04, 2003 3:10 pm
Posts: 9
Location: Rio de Janeiro, Brazil
I suppose this too (The third option appear to be better solution).

The problem with this one is that the FieldsContainer object have basically the fields that appears in the form for the user fill in.

So, It


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.