Re: cayenne.dba.* : same handling like drivers?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Jul 25 2008 - 02:41:30 EDT

  • Next message: Andrus Adamchik (JIRA): "[jira] Commented: (CAY-892) CM Usability: JEdit Syntax to all TextAreas"

    Yeah, dba package contents (aka DB Adapters) are very much like
    drivers. In fact users can write their own separate from Cayenne.
    Still I see no point to split the adapters that *we* provide from
    Cayenne runtime. Aside from some negligible savings in cayenne-
    server.jar size, there's no benefit - it won't make Cayenne faster or
    more memory efficient, and will complicate configuration for us and
    for the users. Also it will break DB auto-detection feature (the auto
    adapter).

    Andrus

    On Jul 24, 2008, at 7:55 PM, Toni Lamar wrote:
    > It looks like from that package, most of the time only one database
    > is used
    > (sometimes 2 or more, but almost never all).
    >
    > Wouldn't it be simpler if they would be like the drivers? Separated
    > in JARs,
    > so that the users to include only that what they need?
    >
    > This would make the Cayenne runtime smaller, it would allow to
    > concentrate
    > on fewer DBs - e.g. if these "cayenne drivers" would be separated,
    > some of
    > them could be even hosted (and distributed) somewhere else (the
    > FoxPro,
    > dBase, Access suppot could be hosted by people that can test it too)
    >
    >
    > Thnx.



    This archive was generated by hypermail 2.0.0 : Fri Jul 25 2008 - 02:42:07 EDT