logo       

AW: Dods: how to refresh the connection pool programmingly?: msg#00002

java.enhydra.general

Subject: AW: Dods: how to refresh the connection pool programmingly?

The fully cached option for DO's should only be used if your table is used in a
readonly way by your application. Although there is a "refreshcache" method in
the generated DO class to update the cache after modifications of DO's, we
experienced some problems with this approach.

Enhydra 5.1 will solve this problem with a completely new LRU cache which can
be set to any size (0, n or unlimited) and supports modification of cached
objects in a clean way.

Greetings.

Alfred Madl

-----Ursprüngliche Nachricht-----
Von: linuxman [mailto:linuxman@xxxxxxxxx]
Gesendet: Sonntag, 16. Februar 2003 04:08
An: enhydra@xxxxxxxxxxx
Cc: dods@xxxxxxxxxxx
Betreff: Dods: how to refresh the connection pool programmingly?


hi,

I set "full cached" property when design a database table with DODS( in
enhydra 5.0), but when I insert the new record into this table and refresh the
page to display the records from this table, the new inserted record is not
there. I have checked double the database, the record is indeed inserted.

I think this maybe a bug in dods?

Or any way to force to refresh the connection pool programmingly? I mean, when
I finished to insert the new record, I can force to refresh the connection pool.

Any hints?

Thanks in advance!

linuxman


_______________________________________________
Dods mailing list
Dods@xxxxxxxxxxx http://www.enhydra.org/mailman/listinfo.cgi/dods


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise