- 
        1. Re: entity bean is not consistent with database.alpago Dec 3, 2002 4:38 PM (in response to alpago)Hi all, 
 I found a way around it however I don't know if it is the right solution. Here is what I did. I used to have default capacity values for my container. I set both min and max values to 1 forcing "no-caching" (as I said, I didn't get expected behavior using commit-option C).
 <container-cache-conf>
 <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
 <cache-policy-conf>
 <!-- ALP <min-capacity>50</min-capacity>
 <max-capacity>1000000</max-capacity> -->
 <min-capacity>1</min-capacity>
 <max-capacity>1</max-capacity>
 <overager-period>300</overager-period>
 <max-bean-age>600</max-bean-age>
 <resizer-period>400</resizer-period>
 <max-cache-miss-period>60</max-cache-miss-period>
 <min-cache-miss-period>1</min-cache-miss-period>
 <cache-load-factor>0.75</cache-load-factor>
 </cache-policy-conf>
 </container-cache-conf>
 So I got my unit test working happily again however, I haven't run any performance tests yet. Probably this solution will suffer in terms of performance.
 I would appreciate any insight opinions from JBoss Guru's.
 Cheers,
 Alp
- 
        2. Re: entity bean is not consistent with database.vickyk Dec 4, 2002 12:59 AM (in response to alpago)Hi, 
 What <locking-policy> are you using in the configuration?
 Regards
- 
        3. Re: entity bean is not consistent with database.alpago Dec 5, 2002 10:58 PM (in response to alpago)Hi Vickyk, 
 I am using the following:
 <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>
 Thanks
- 
        4. Re: entity bean is not consistent with database.erik777 Dec 5, 2002 11:38 PM (in response to alpago)What version of JBoss are you using? 
- 
        5. Re: entity bean is not consistent with database.alpago Dec 6, 2002 5:55 PM (in response to alpago)I am using jboss-3.0.4_tomcat-4.0.6. (I can not use the most recent one because of a bug ). 
- 
        6. Re: entity bean is not consistent with database.alpago Dec 6, 2002 5:57 PM (in response to alpago)I am using jboss-3.0.4_tomcat-4.0.6. I can not use the most recent one because of a bug. 
- 
        7. Re: entity bean is not consistent with database.alpago Dec 6, 2002 5:57 PM (in response to alpago)I am using jboss-3.0.4_tomcat-4.0.6 . I can not use the most recent one because of a bug. 
- 
        8. Re: entity bean is not consistent with database.alpago Dec 6, 2002 6:00 PM (in response to alpago)I am using jboss-3.0.4_tomcat-4.0.6. I can not use the most recent one because of a bug. 
 
     
    