You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Jean-Baptiste BRIAUD <jb...@sysdeo.com> on 2003/02/21 10:50:26 UTC

Prefetch dynamic change

Hello,

Is it possible to dynamicly change value of auto-XXX 
(auto-delete, auto-retrieve, ...) specified in the repository-user.xml ?

By "dynamicly" I mean in Java code. Say in the xml file there is the
default version, but in Java code I'd like to change value for one shot.
Note that I don't want to modify the xml file.

is org.apache.ojb.broker.metadata a way to a solution ?

I was able by this way to obtain value store in the repository xml file,
but is it possible to change values (any values ?) without writing to
the file ?

   Thanks !

______________________________________________
Jean-Baptiste BRIAUD                    Sysdeo
Software engineer               www.sysdeo.com
                         www.eclipsetotale.com


Re: Prefetch dynamic change

Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi,

see more about runtime metadata changes here

http://archives.apache.org/eyebrowse/ReadMsg?listName=ojb-user@jakarta.a
pache.org&msgNo=5807

and in javadoc of class MetadataManager (newest version
see CVS)

regards,
Armin

----- Original Message -----
From: "Jean-Baptiste BRIAUD" <jb...@sysdeo.com>
To: "'OJB Users List'" <oj...@db.apache.org>
Sent: Friday, February 21, 2003 10:50 AM
Subject: Prefetch dynamic change


> Hello,
>
> Is it possible to dynamicly change value of auto-XXX
> (auto-delete, auto-retrieve, ...) specified in the repository-user.xml
?
>
> By "dynamicly" I mean in Java code. Say in the xml file there is the
> default version, but in Java code I'd like to change value for one
shot.
> Note that I don't want to modify the xml file.
>
> is org.apache.ojb.broker.metadata a way to a solution ?
>
> I was able by this way to obtain value store in the repository xml
file,
> but is it possible to change values (any values ?) without writing to
> the file ?
>
>    Thanks !
>
> ______________________________________________
> Jean-Baptiste BRIAUD                    Sysdeo
> Software engineer               www.sysdeo.com
>                          www.eclipsetotale.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>


RE: Prefetch dynamic change

Posted by Ricardo Tercero Lozano <rt...@isoco.com>.
see 'auto-update, auto-delete set dynamically?' thread.



-----Mensaje original-----
De: Jean-Baptiste BRIAUD [mailto:jbbriaud@sysdeo.com]
Enviado el: viernes, 21 de febrero de 2003 10:50
Para: 'OJB Users List'
Asunto: Prefetch dynamic change


Hello,

Is it possible to dynamicly change value of auto-XXX 
(auto-delete, auto-retrieve, ...) specified in the repository-user.xml ?

By "dynamicly" I mean in Java code. Say in the xml file there is the
default version, but in Java code I'd like to change value for one shot.
Note that I don't want to modify the xml file.

is org.apache.ojb.broker.metadata a way to a solution ?

I was able by this way to obtain value store in the repository xml file,
but is it possible to change values (any values ?) without writing to
the file ?

   Thanks !

______________________________________________
Jean-Baptiste BRIAUD                    Sysdeo
Software engineer               www.sysdeo.com
                         www.eclipsetotale.com


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


RE : Prefetch dynamic change

Posted by Jean-Baptiste BRIAUD <jb...@sysdeo.com>.
Sorry,

I should read all new messages before asking questions !
:-)

   Thanks to all !

______________________________________________
Jean-Baptiste BRIAUD                    Sysdeo
Software engineer               www.sysdeo.com
                         www.eclipsetotale.com

> -----Message d'origine-----
> De : Jean-Baptiste BRIAUD [mailto:jbbriaud@sysdeo.com] 
> Envoyé : vendredi 21 février 2003 10:50
> À : 'OJB Users List'
> Objet : Prefetch dynamic change
> 
> 
> Hello,
> 
> Is it possible to dynamicly change value of auto-XXX 
> (auto-delete, auto-retrieve, ...) specified in the 
> repository-user.xml ?
> 
> By "dynamicly" I mean in Java code. Say in the xml file there 
> is the default version, but in Java code I'd like to change 
> value for one shot. Note that I don't want to modify the xml file.
> 
> is org.apache.ojb.broker.metadata a way to a solution ?
> 
> I was able by this way to obtain value store in the 
> repository xml file, but is it possible to change values (any 
> values ?) without writing to the file ?
> 
>    Thanks !
> 
> ______________________________________________
> Jean-Baptiste BRIAUD                    Sysdeo
> Software engineer               www.sysdeo.com
>                          www.eclipsetotale.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
>