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.

Reply via email to