Ashwood Library

From: Scott McClure (scot..martblob.com)
Date: Thu Jul 01 2004 - 09:40:14 EDT

  • Next message: Jonathan Carlson: "Re: Many To Many relations: how to?"

    Is the ashwood library required? It is included in the normal cayenne
    distribution, but there are few mentions. The best one I can find is from the
    ServerSide article:

    Batching and Operation Sorting. Cayenne uses JDBC batching for all DML
    operations if the underlying driver can support it. This results in significant
    performance improvements for massive data modifications. Also Cayenne
    automatically sorts generated INSERT/DELETE/UPDATE DML to satisfy database
    integrity constraints. The algorithm used is topological sorting of directed
    acyclic graphs applied to the graph of database tables. It is implemented using
    excellent Ashwood graph library (just like Cayenne, Ashwood is an open source
    project at ObjectStyle.org). Sorting is extremely important when a given
    database does not implement deferred constraint checking, or if constraint
    parameters are not controlled by Java developers.

    Does this mean it is not used in a production enviornment, only for building
    classes and generating DDL?

    Scott



    This archive was generated by hypermail 2.0.0 : Thu Jul 01 2004 - 09:40:17 EDT