• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't invoke delete sql from web service client

 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an EAR project, written with CXF.
backend is built with hibernate 4.
The problem is when the client service facade execute a remove(obj) through web sersice, it doesnt' invoke the delete hibernate sql query in the backend.

The log message shown that it is going through the cxf calls:



but there is no sign of finding its invocation with the "delete" sql query.

Here is my client service facade invoking the remove(obj) function:



In the above code, logger.debug("======== removing product+category....") is executed, so I am very sure the remove(p) function is getting invoke.

Any help is much appreciated.
Thanks
Sam
 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you post code of your remove method ? how are transactions handled? is there exception thrown after this call that might cause a rollback?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic