Re: How do you deal with AS400 schemas

From: Frank (farocc..otmail.com)
Date: Wed Feb 14 2007 - 09:34:17 EST

  • Next message: Andrus Adamchik: "Re: AW: AW: cayenne with jetty6"

    Hi Andrus,

    I regenerated the code and eclipse does not complain about source errors.
    I am still having problems, but since I am new to Cayenne, it just may be a
    coding issue:
    When I attempt to retrieve some records, I get this error:

    javax.servlet.ServletException: Servlet execution threw an exception
     net.sf.click.extras.cayenne.DataContextFilter.doFilter(DataContextFilter.java:125)java.lang.OutOfMemoryError: Java heap spaceHere is my code:private List filterEmployees(String lname, String fname) { DataContext context = DataContext.getThreadDataContext(); Expression qualifier1 =ExpressionFactory.likeIgnoreCaseExp(Bsypemp.EMYFNM_PROPERTY,fname+"%"); Expression qualifier2 =ExpressionFactory.likeIgnoreCaseExp(Bsypemp.EMYLNM_PROPERTY,lname+"%"); SelectQuery query = new SelectQuery(Bsypemp.class,qualifier2); List records = context.performQuery(query); return records; }ThanksFrank



    This archive was generated by hypermail 2.0.0 : Wed Feb 14 2007 - 09:36:14 EST