Mike Winkelmann

Greenhorn
+ Follow
since Feb 26, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mike Winkelmann

Hi guys,

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 ?

regards
11 years ago
Hy guys

i want to map the id database column to an object wich contains an id value:



Do someone knows how i can map this field to my database column ?

I want to do like this:


I have googled so much but not found some solution for this .
Can someone help me ?

Regards
Mike