Also, if you are doing new inserts you will to re-pull/select the objects in question. A clearer example of the process you are doing, from the script running to the jdo loading would be good.
*Werner - My only thought on this is that the objects aren't in the cache/or related to the cache at all if they are just being inserted, and should still load fine. Now, if he is inserted child objects of some pre-existing object he would have issues. -Nick On 6/16/05, Werner Guttmann <[EMAIL PROTECTED]> wrote: > Markus, > > if you are using caches, this will be a problem per definition, as you are > using a SQL script outside of Castor to insert data into your database. > You've got some options, some of which might suite your needs: > > a) Turn-off caches (which might eventually lead to a performance penalty). > b) Use one of the CacheManager.expire() methods. > c) Switch your cache type to time-limited (with a potential short timeout > period). > > Regards > Werner > > wg> -----Original Message----- > wg> From: Markus Sell [mailto:[EMAIL PROTECTED] > wg> Sent: Thursday, June 16, 2005 11:53 AM > wg> To: dev@castor.codehaus.org > wg> Subject: [castor-dev] Import data to the database and see > wg> it directly > wg> via JDO > wg> > wg> > wg> Hi, > wg> > wg> my application is accessing the database via jdo. I > wg> importing data with a script directly into the database. > wg> But I don't see the data via my JDO connection. After a > wg> restart eveything is fine. > wg> How I can do it online? Do I have to use the "expire" feature? > wg> > wg> regards, > wg> markus > wg> > ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------