A new comment was posted on JDF Project site


Martin (Guest):

Hi, the quickstart stores custom objects (Team) and the server knows nothing about this type. The quickstart (through HotRod client) performs marshalling of a Team object and stores the marshalled object (array of bytes) into the cache, not the actual Team object. As a result, the CLI does not understand the marshalled value and returns null.

You can, however, call "get --codec=hotrod teams" and this will return you {"java.util.ArrayList":["Barcelona"]}. The CLI is able to return it because it's a known type - ArrayList, which is stored under a specific key "teams"

Hope that helps

3:11 a.m., Tuesday July 16

 
  Reply  
 
 
 
 

Moderate this comment by email

Email address: mgencur@redhat.com | IP address: 209.132.186.34

Reply to this email with “Delete”, “Approve”, or “Spam”, or moderate from the Disqus moderation panel.

 
 
 
Martin’s comment is in reply to Doug (Guest):
 

I'm running boss-datagrid-server-6.1.0 and trying out the hotrod-endpoint quickstart. The quickstart is working but I can't seem to get anything from ...

Read more