This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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".