is it possible to use a hibernate dao in the top layer - controller - of an restful webservice ?
So I want to do the following:
So I want to open the transaction for hibernate directly in the spring mvc controller!
If I run the webservice and call the method an exception is thrown with "IllegalArgumentException: object is not an instance of declaring class".
Do someone knows something about this error ?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: restservice - mvc controller and transactional ?