]
Kevin Conner commented on JBESB-775:
------------------------------------
BTW The reason this is done is so that the interceptor can modify the state *before* the
object is initialised. The onSave method is the reciprocal event.
helloworld_hibernate_action - null values for onLoad
----------------------------------------------------
Key: JBESB-775
URL:
http://jira.jboss.com/jira/browse/JBESB-775
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Examples
Affects Versions: 4.2 Milestone Release 3
Reporter: Jaroslaw Kijanowski
Assigned To: Tom Cunningham
Fix For: 4.2.1
When I add an item and list it (via jsp) I don't see these values in the console,
only nulls:
14:44:54,921 INFO [STDOUT] Hibernate: select order0_.unique_id as unique1_0_,
order0_.product as product0_, order0_.quantity as quantity0_, order0_.price as price0_
from orders order0_
14:45:05,722 INFO [STDOUT] onSave
14:45:05,903 INFO [STDOUT] Hibernate: insert into orders (product, quantity, price)
values (?, ?, ?)
14:45:05,904 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:45:05,905 INFO [STDOUT] id [0]product [Widgets] quantity [2] price [2.4]
14:45:05,905 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:45:05,936 INFO [STDOUT] Hibernate: select order0_.unique_id as unique1_0_,
order0_.product as product0_, order0_.quantity as quantity0_, order0_.price as price0_
from orders order0_
14:45:05,956 INFO [STDOUT] onLoad
14:45:05,980 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:45:05,980 INFO [STDOUT] id [1]product [null] quantity [null] price [null]
14:45:05,980 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: