0 Replies Latest reply on Aug 29, 2003 9:59 AM by Jeff Whiteside

    Commit-option D not working

    Jeff Whiteside Newbie

      I am attempting to use commit-option D for my enity beans. I have not been able to find the configuration that will achieve the caching I want. I am expecting the Entity Bean to be cached for 180 seconds and then refresh from the db. Instead, when I update the db through an external program, the change is reflected immediatly.

      I have included my jboss.xml file below. Any suggestions would be great.

      Thanks. Jeff

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS//EN" "http://www.jboss.org/j2ee/dtd/jboss.dtd">

      <container-configuration extends="Standard CMP 2.x EntityBean">
      <container-name>Cached CMP</container-name>


      <!-- PartEJB -->

      <configuration-name>Cached CMP</configuration-name>