It is absolutely required by the Cayenne runtime. The code responsible for
data change commits heavily relies upon the algorithms implemented in
Ashwood.
Thanks.
Andriy.
----- Original Message -----
From: "Scott McClure" <scot..martblob.com>
To: <cayenne-use..bjectstyle.org>
Sent: Thursday, July 01, 2004 4:40 PM
Subject: Ashwood Library
> 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 - 10:23:00 EDT