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]