Changeset 2530


Ignore:
Timestamp:
Aug 16, 2006, 9:04:37 AM (16 years ago)
Author:
Nicklas Nordborg
Message:

Added caching for AnnotationTypeCategoryData? as specified

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ehcache.xml

    r2304 r2530  
    4141  />
    4242  <cache
     43    name="net.sf.basedb.core.data.AnnotationTypeCategoryData"
     44    maxElementsInMemory="100"
     45    eternal="false"
     46    timeToIdleSeconds="3600"
     47    timeToLiveSeconds="3600"
     48    overflowToDisk="false"
     49  />
     50  <cache
    4351    name="net.sf.basedb.core.data.BioMaterialData"
    4452    maxElementsInMemory="500"
  • trunk/src/hibernate.cfg.xml

    r2304 r2530  
    5050    <class-cache
    5151      class="net.sf.basedb.core.data.AnnotationTypeData"
     52      usage="nonstrict-read-write"
     53    />
     54    <class-cache
     55      class="net.sf.basedb.core.data.AnnotationTypeCategoryData"
    5256      usage="nonstrict-read-write"
    5357    />
Note: See TracChangeset for help on using the changeset viewer.