cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Incorrect Insert-Statement Order After Deleting All Objects
Date Mon, 18 Dec 2006 10:17:40 GMT

On Dec 18, 2006, at 12:51 PM, Peter Karich wrote:

> So, is there a reset 'button'?

Yes, you can restart the entire stack:

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

This will shutdown the stack and re-read all mapping files. But this  
kind of reset won't work if you are changing DataMaps in memory.


>> you will need to reset the EntitySorter on DataDomain.  
>> Unfortunately DataDomain.setEntitySorter(..) is not public in 1.2,
> Is this easier in another version >1.2.1 ?

No. But it is fairly easy as it is.

Andrus

Mime
View raw message