[JBoss-user] cache question?

2003-03-20 Thread Rafal Kedziorski
hi, I have following problem. my client calls session facade for ceating a new user. this session facate check permissions and call other session bean which calls: - create new group - create new user - get permissions id's - add permission to user get permissions is read only entity bean:

Re: [JBoss-user] cache question?

2003-03-20 Thread Rafal Kedziorski
hi, I've tested caching outside of this routine and this is working. I've to change my routine to use it. but other question. my entity bean has two finders: - findByPrimaryKey() - findByName() why findByName() calls will be send to the db and not checked in the cache of the bean? Rafal At

Re[2]: [JBoss-user] cache question?

2003-03-20 Thread julien viet
AFAIK finder always get pk from the db and then can retrieve other fields from cache or db according your commit option. finder + cache would require load all data from table + having an in memory finder algorithm. julien RK hi, RK I've tested caching outside of this routine and this is