Re: Queries on non-committed objects

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sun Feb 05 2006 - 15:37:57 EST

  • Next message: Todd O'Bryan: "Re: Queries on non-committed objects"

    On Feb 5, 2006, at 3:28 PM, Todd O'Bryan wrote:
    >
    > org.objectstyle.cayenne.access.QueryResult.nextQueryException
    > (QueryResult.java:257)
    > org.objectstyle.cayenne.access.DataDomainQueryAction.nextQueryExceptio
    > n(DataDomainQueryAction.java:176)

    Still you've truncated the important part. This part above is a
    wrapper for another Exception. Do you see "Caused By...." in the
    stack trace? If not, can you catch the exception and do

    exception.getCause().getStackTrace()

       or better

    Util.unwindException(exception).printStackTrace()

    Andrus



    This archive was generated by hypermail 2.0.0 : Sun Feb 05 2006 - 15:37:59 EST