I have a set of business objects that potentially can be persisted in different ways, although for any given configuration of the application, only one persistence mechanism will be active. Persistence is handled via interfaces.
The obvious architecture, it seems to me, is to put all the persistence objects for one configuration into one package, and all the objects for a different configuration in another package. But it seems that this plan may end up with a lot of different packages and a package management issue instead. Are there any other good solutions to this problem?