This content has been marked as final.
Show 1 reply
-
1. Re: CMP Entity beans and the Page-by-Page Iterator Design Pa
shs96c Jul 18, 2002 12:21 PM (in response to panosk)There's no reason you can't use CMP EJBs to do this, but there are a couple of draw backs, notably that EJB-QL doesn't support ORDERing results (though you can do it with a JBoss extension to the language) so you'll have to do it in your app.
Perhaps you could use JDBC to query the underlying DB, navigate the ResultSet to the beginning of your current page, create the appropriate Data Transfer Objects and then return them.