Changeset 2852

Show
Ignore:
Timestamp:
03/15/10 00:21:59
Author:
douglm
Message:

1. Unprefix principal urls in getPrincipal method for AccessUtil?

2. Changed type of content length from int to long - affects nodes and interfaces. Needed for resources.

Also means a schema change, stored length needs to be a bigint rather than int. Also content must be stored as a blob.
Schema was broken anyway, resources limited to 255 bytes. Not being used other than by tests so schema change should be OK.

3. CalDavBwIntf? canPut method needs to take account of resource nodes.

4. Null changes to CalDAVCalNode, CalDavComponentNode? - finals and @override

5. For resources use streams rather than byte arrays. Avoids copying.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • releases/bedework-3.6/config/bwbuild/jboss-h2/bedework-ds.xml

    r2831 r2852  
    1212    <driver-class>org.h2.Driver</driver-class> 
    1313 
    14     <connection-url>jdbc:h2:tcp://localhost:9092/${jboss.server.data.dir}/bedework/h2/CalDb3p6</connection-url> 
     14    <connection-url>jdbc:h2:tcp://localhost:9092/${jboss.server.data.dir}/bedework/h2/CalDb3p6;MVCC=TRUE</connection-url> 
    1515 
    1616    <depends>org.bedework:service=H2Db</depends> 
     
    2424 
    2525    <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) --> 
     26     
     27    <!-- Note there is no H2 mapping (yet). H2 is apparently compatible with postgres --> 
    2628    <metadata> 
    27       <type-mapping>Derby</type-mapping> 
     29      <type-mapping>PostgreSQL</type-mapping> 
    2830    </metadata> 
    2931  </local-tx-datasource>