Hi,
I am executing the following code:
OQLQuery query = impl.newOQLQuery();
query.create( [THEQUERY] );
DList results = (DList)query.execute();
Iterator iterator = results.iterator();
If I change some column with an external tool and then execute the code,
the updated column is not
Are you working with DefaultCacheImpl or EmptyCacheImpl?
If you are working with DefaultCacheImpl, take a look at config parameters.
Otherwise, are there any exceptions (stack trace), messages (they can be very usefull
if you
enable higher level of logging as DEBUG).
Best regards,
Edson Richter
Thanks for your quick answer, I cheched the OJB.properties file an I
was using DefaultCacheImpl I change it to ObjectCacheEmptyImpl and now
it is working as I was expecting.
Now just to learn the reasons for the previous behaviour:
A comment in OJB.properties:
# The ObjectCacheClass
In real, I'm not an specialist in caches ;), but I've used with success object-cache
..
tag inside class-descriptor, no elsewhere.
I think I've read somewhere that is possible to configure the object-cache for the
connection (or the alias), but I never reade more, and now I'm not sure. Give a