On Sep 24, 2013, at 8:48 PM, Andrus Adamchik <[email protected]> wrote:

> he "special DataContext" case where the qualifier should be ignored can 
> probably be handled by starting a separate ServerRuntime, where you can strip 
> off the qualifiers. For whatever overhead it creates (ideally not much), this 
> has an advantage of cleanly separating "spaces" with different ORM rules. 

Elaborating on this a bit… The old Configuration allowed multiple DataDomains, 
each of those requiring its own DataMap(s) saved in the project upfront. Good 
idea, but hard to use in practice. 

ServerRuntime (with single DD each) is more user-friendly. By starting multiple 
independent runtimes you to easily reuse a single mapping project, tweaking 
each in-memory copy local to each Runtime (as well as tweaking other parameters 
like cache). 2 Runtimes can reuse a single DataSource (JNDI, or otherwise), etc.

Andrus

Reply via email to