Can you please elaborate on what you mean by "in a per thread manner or
global"? I thought OJB can only have a global metadata definition. Are you
implying by "per thread" to mean that each application can dynamically load
its own metadata using the same OJB instance? If that is the case, then it
solves the problem of metadata conflicts for co-existing applications
sharing a single OJB instance.
Please clarify/confirm this.
regards,
Rajeev
----- Original Message -----
From: "Armin Waibel" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Thursday, April 03, 2003 7:11 AM
Subject: Re: Dynamic OR Maping
> Hi,
>
> it is possible to change the persistent object metadata
> (all ClassDescriptors) in a per thread manner or global
> using the org.apache.ojb.broker.metadata.MetadataManager.
>
> > Is this possbile ? If not, where can I get in dynamic OJB config ?
> It is also possible to load and merge
> additional repository class-descriptor at runtime with
> global repository file.
>
> regards,
> Armin
>
>
> ----- Original Message -----
> From: "Goncalo Luiz" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 03, 2003 2:07 AM
> Subject: Dynamic OR Maping
>
>
> Hello.
>
> I need to use a variable in my repository-user.xml file to use multiple
> instances of the same application, each one using a differente table for
> the same classes.
> .
> For example, if I run an instance of MyApp I'd like it to something like
> this:
>
> <class-descriptor
> table="instance123....
>
> but in another instance if may look like
>
> <class-descriptor
> table="instance342....
>
> What I need is something like
>
> <class-descriptor
> table=${some_variable_in_java_context}
>
> Is this possbile ? If not, where can I get in dynamic OJB config ?
>
> I hope I was clear enough to get answers :-)
>
> Thanx in advance
> ----
> Gon�alo Luiz - IST 4� Ano (PSI)
> [EMAIL PROTECTED]
> ----
> Gon�alo Luiz - IST 4� Ano (PSI)
> [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]