[
http://jira.jboss.com/jira/browse/JBESB-1548?page=all ]
Tom Cunningham resolved JBESB-1548.
-----------------------------------
Resolution: Done
Talked to Len about this one. We are intercepting the event before Load of the
hibernate object, so none of the fields have been filled out (they have yet to be loaded)
and therefore they are null.
We've removed the onLoad action from jboss-esb.xml so we only log onSave and
onDelete.
revision 18484 - helloworld_hibernate_action - Hibernate Interceptor
events onSave, OnLoad return different subset of message - onDelete seems OK
-------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBESB-1548
URL:
http://jira.jboss.com/jira/browse/JBESB-1548
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Examples
Affects Versions: 4.2.1
Environment: revision 18484
Reporter: Len DiMaggio
Assigned To: Tom Cunningham
Priority: Minor
Fix For: 4.2.1 CP2
Attachments: onDeleteonSave_server.log, onLoad_server.log
Found this problem with looking at SOA-420.
The onLoad Hibernate Interceptor event returns this for the message:
id [1]product [null] quantity [null] price [null]
(the id value increments correctly)
While onSave returns:
id [0]product [Widgets] quantity [20] price [2.4]
(the id value is always 0)
While onDelete seems to get it right:
id [1]product [Widgets] quantity [20] price [2.4]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira