cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: pls helppppp !!! cayenne.xml
Date Sun, 21 Nov 2010 07:58:44 GMT

On Nov 21, 2010, at 8:11 AM, bogdan_voloshincu wrote:

> 
> i hava the next problem : how can i reload or refresh my cayenne.xml after i
> add or remove one or more domanis. how can i read cayanne.xml at runtime if
> it's posible ? if not can somebody give another example pls thank you!

Assuming you are using shared configuration:

  Configuration.getSharedConfiguration().shutdown();
  Configuration.initializeSharedConfiguration();

Andrus


Mime
View raw message