toArray returns cached resultset

From: Mark Santos (zerofunk0..mail.com)
Date: Thu Sep 08 2005 - 23:33:34 EDT

  • Next message: Andrus Adamchik: "Re: toArray returns cached resultset"

    Hello
     I used the toArray method , but then i found out that it returned
    previous resultset from the database (mysql 5),
    but when i try to restart the tomcat server the resultset is correct.
    Does cayenne cache the data in the context? Is there a way to refresh it?
      my code
     DataContext context = BasicServletConfiguration.getDefaultContext(session);
    ...
    ...
    ..
    List leavelist = e.getEmployeeleavecounterArray()
     - Mark Glen Santos



    This archive was generated by hypermail 2.0.0 : Thu Sep 08 2005 - 23:33:36 EDT