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> 

Reply via email to