Steve_johnson122 wrote:
Guys,
I hope you can help.
We are using MSSQL server using stored proecures. Currently the stored proecudre is called using JDBC, which returns 1000 rows(say). This data is used in several places through the application, and currently I am looking at a way of applying aggregation and grouping to this stored proecdures result.
This cannot be done at the database level and might need to be donw recursively. Ie grouping on results of grouping. I have looked at Hiberante but couldnt see if this was possibel.
I have also looked ta Appache Commons etc.
Thanks for your help
Steve,
I would suggest you do some more reading on hibernate. It is a very powerful tool in dealing with database persistence in Java.
However, if you are locked in to exectuing your stored procedure using JDBC, you will not be able to use Hibernate to populate your graph. You can however execute your Stored Procedure withint the Hibernate framework and return a graph of objects.
I would suggest looking at the Hibernate 3 reference documentation for more information.