All,

 

I retrieve a jdo collection with the jdo.getCol method. I'm using dynamic
proxy. OJB RC7 same pb in RC6 

I'm using an iterator on this col and delete each object retrieve.

 

Later (not all time but 50% time) I commit and I have an Unmaterialized
proxy error !!

 

It seems that after a while (undefined time) the proxy is unmaterialized and
the commit could not order to delete the object ..

 

Database db = impl.getDatabase(product);
Collection col = jdo.getCol();
Iterator iter = col.iterator();
 
While (iter.hasNext()) {
   Jdoxx myxx = iter.next();
   db.deletePersistent(myxx);
}

 

 

blablablablablablabla.later on....

 

commit();

 

 

What wrong in my logic ???

 

Any help would be appreciated! Tx !!

 

 

 

Reply via email to