[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-1000) Pojocache tutorial not working
Galder Zamarreno (JIRA)
jira-events at lists.jboss.org
Wed May 16 08:37:52 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-1000?page=all ]
Galder Zamarreno resolved JBCACHE-1000.
---------------------------------------
Resolution: Done
Done.
JBossCache tutorial demo has been refactored to accomodate PojoCache one so that it uses the same
embedded beanshell. PojoCache tutorial has been rewritten to have more similarities with
JBossCache one, and has been extended with a section on Collections. Person and Address fields
have been made private to promote encapsulation. Person no has a setLanguages(List<String>) to be
consistent with get operation. This required fixing the ReplicatedPutWithBulkRemoveTest.
> Pojocache tutorial not working
> ------------------------------
>
> Key: JBCACHE-1000
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1000
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: PojoCache
> Reporter: Rajesh Rajasekaran
> Assigned To: Galder Zamarreno
> Fix For: 2.0.0.CR2
>
>
> sourceRelative("pojocache.bsh"); loads the cache GUI with the default contents from the script.
> Trying the set/get methods does not update the GUI.
> bsh % joe.getAddress().setCity("Taipei");
> bsh % ArrayList lang = new ArrayList();
> bsh % lang.add("Ensligh");
> bsh % lang.add("Mandarin");
> bsh % joe.setLanguages(lang);
> Similar case with pojocacheWithTx.bsh. The cache GUI does not get updated.
> tx.begin();
> addr.setZip(95131);
> tx.commit();
> I tried the tutorials from JBossCache-pojo-2.0.0.BETA1.zip
--
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
More information about the jboss-jira
mailing list