Re: iReport/Cayenne integration

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Jan 16 2006 - 19:59:59 EST

  • Next message: Dov Rosenberg: "Re: Custom Configuration Question"

    On Jan 16, 2006, at 7:17 PM, Steve Wells wrote:

    > ObjEntity e =
    > dataContext.getEntityResolver().lookupObjEntity("MyEntityName");
    > e.getJavaClass() --->> throws a java.lang.ClassNotFoundException

    Not to argue with your other conclusions (as I know nothing about
    Jasper reports, and actually feel like reports is one area where ORM
    is a stretch), but if you are able to identify the right ClassLoader,
    you can force it on Cayenne manually:

    Thread.currentThread().setContextClassLoader(classLoader);

    Andrus



    This archive was generated by hypermail 2.0.0 : Mon Jan 16 2006 - 20:00:03 EST