[
https://jira.jboss.org/jira/browse/JBESB-3175?page=com.atlassian.jira.plu...
]
Kevin Conner commented on JBESB-3175:
-------------------------------------
Also, see the esb message following properties ListenerTagNames.HIBERNATE_INTERCEPTOR_ID,
ListenerTagNames.HIBERNATE_INTERCEPTOR_STATE,
ListenerTagNames.HIBERNATE_INTERCEPTOR_PROPERTYNAMES and
ListenerTagNames.HIBERNATE_INTERCEPTOR_TYPES.
Hibernate Interceptor onLoad event - fields in restored object
contain null value.
----------------------------------------------------------------------------------
Key: JBESB-3175
URL:
https://jira.jboss.org/jira/browse/JBESB-3175
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.7
Reporter: Boris Belovic
Attachments: hibernate_hypersonicSQL.tar.bz2, hibernate_mySQL.tar.bz2,
server.log_mySQL.bz2
I wrote a service with Hibernate transport (Hibernate listener) and I am listening for
onLoad and onSave events. When saving simple POJO (Person.java) into database, this object
is correctly intercepted and passed to the message body. (I am using mySQL 5.1).
14:29:07,059 INFO [MyAction] @@@ Found person object in the intercepted message! @@@
14:29:07,059 INFO [MyAction] [Id: 1, Name: John Smith]
When retrieving object from DB, object is passed to the message but its fields have null
value (only Id field contains correct value).
14:42:07,583 INFO [MyAction] @@@ Found person object in the intercepted message! @@@
14:42:07,583 INFO [MyAction] [Id: 1, Name: null null]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira