Details

    • Type: Improvement Improvement
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Java
    • Labels:
      None

      Description

      Attached is an untested implementation of the various (non rest) services in Social using Cayenne. The model is complete, but I have not done tests on the model or Api.

      1. social-db.tgz
        20 kB
        Ian Boston

        Issue Links

          Activity

          Hide
          Ian Boston added a comment -

          Source tarball of untested implementation of the DB storage layer. I will keep working on this and updating as I go.

          Please DONT assume that this version works.... untill I have added unit tests and fixed the bugs.

          Show
          Ian Boston added a comment - Source tarball of untested implementation of the DB storage layer. I will keep working on this and updating as I go. Please DONT assume that this version works.... untill I have added unit tests and fixed the bugs.
          Hide
          Ian Boston added a comment -

          Cant implement this without interfaces in social

          Show
          Ian Boston added a comment - Cant implement this without interfaces in social
          Hide
          Ian Boston added a comment -

          I am now committing this to a separate SVN repo at

          https://source.sakaiproject.org/contrib//tfd/trunk/social-db/

          which I have commit access to, and tracking shindig trunk.

          All the service impls are done as is the DB impl, and I am slowly writing more tests and population scripts. DDL scripts are generated for the following DB's although I am testing against Derby.

          The DB's that are supported.
          db2, derby, hsqldb, ingres, mssql, mysql, openbase, oracle, postgres, sybase.

          Show
          Ian Boston added a comment - I am now committing this to a separate SVN repo at https://source.sakaiproject.org/contrib//tfd/trunk/social-db/ which I have commit access to, and tracking shindig trunk. All the service impls are done as is the DB impl, and I am slowly writing more tests and population scripts. DDL scripts are generated for the following DB's although I am testing against Derby. The DB's that are supported. db2, derby, hsqldb, ingres, mssql, mysql, openbase, oracle, postgres, sybase.
          Hide
          Vincent Siveton added a comment -

          Hehe, Sakai project layout

          Short thought, why not using Maven Cayenne plugin to generate orm objects?

          Show
          Vincent Siveton added a comment - Hehe, Sakai project layout Short thought, why not using Maven Cayenne plugin to generate orm objects?
          Hide
          Cassie Doll added a comment -

          Does this issue still need to be open?
          I think with the java/samples project we are covered.

          Show
          Cassie Doll added a comment - Does this issue still need to be open? I think with the java/samples project we are covered.
          Hide
          Ian Boston added a comment -

          The SPI implementation duplicates this work and is a cleaner approach not binding to anything other than javax.persistence.

          Show
          Ian Boston added a comment - The SPI implementation duplicates this work and is a cleaner approach not binding to anything other than javax.persistence.
          Hide
          Ian Boston added a comment -

          Work being carried out in linked item, closing.

          Show
          Ian Boston added a comment - Work being carried out in linked item, closing.

            People

            • Assignee:
              Unassigned
              Reporter:
              Ian Boston
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development