Hi, I am trying to view all (or specific) columns of my database on a web page. I have been able to locate specific data by using finder methods . I have tried to adapt a finder method to return contents into an array and show the contents of that array via a servlet client... The trouble is that as far as I can make out the findermethods require a specific parameter (like first or lastname of particular entity) In short how can I output general columns of data from my database tables using ejb's Thanks for your help Andrew
You just implement a "findAllXXX" method (XXXX is your bean name). The only tricky part is that in some EJB servers, you have to leave the finder expression empty so that no "WHERE" clause will be added to the SELECT statement that the container executes.
An IDE is no substitute for an Intelligent Developer.