[jboss-user] [JBossCache] - Re: How do I serialized an POJO stored in the cache

patlap do-not-reply at jboss.com
Fri Nov 10 09:41:45 EST 2006


I did a quick test and it is still giving me the aspectized pojo. This is the proof.
The XML representation of my obj in different stage of execution:


  | before to store it in the cache:
  | <com.cae.launchpad.core.dao.Student>
  |   <school>ULLAVAL</school>
  |   <courses class="linked-hash-set">
  |     <com.cae.launchpad.core.dao.Course>
  |       <title>Spring</title>
  |       <instructor>Ben</instructor>
  |       <room>505</room>
  |     </com.cae.launchpad.core.dao.Course>
  |   </courses>
  |   <name>Pat</name>
  | </com.cae.launchpad.core.dao.Student>
  | 
  | Once in the cache:  (notice the courses field is aspectized)
  | <com.cae.launchpad.core.dao.Student>
  |   <school>ULLAVAL</school>
  |   <courses class="AOPClassProxy$0"/>
  |   <name>Pat</name>
  | </com.cae.launchpad.core.dao.Student>
  | 
  | ONce removed from the cache:  (notice the courses field is still aspectized)
  | <com.cae.launchpad.core.dao.Student>
  |   <school>ULLAVAL</school>
  |   <courses class="AOPClassProxy$0"/>
  |   <name>Pat</name>
  | </com.cae.launchpad.core.dao.Student>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984900#3984900

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984900



More information about the jboss-user mailing list