You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsr...@googlegroups.com
Hi,
If a method is annotated with @CacheResult and a cache name is not specified what is the cache type of the auto-generated cache based on the method signature? i.e. is it local, distributed or replicated?
Thanks,
W
Eric Dalquist
unread,
Jul 3, 2012, 4:45:27 PM7/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsr...@googlegroups.com
A cache isn't auto generated, a cache name is auto generated and that
named cache is retrieved from the CacheManager so you still need to
configure the cache in the cache manager.
Ryan Gardner
unread,
Jul 3, 2012, 5:28:48 PM7/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsr...@googlegroups.com
According to the spec,
With no {@link #cacheName()} specified a cache name of "my.app.DomainDao.getDomain(java.lang.String,int)"
The JSR107 API doesn't have a concept of local, distributed, or replicated - that's up to the cache configuration. If you have it create a generated cache, it'd be a cache of whatever type your cachemanager creates by default.