Re: intermittent exception

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Nov 03 2005 - 02:35:36 EST

  • Next message: Eric Schneider: "Re: ObjEntity returning related entity's ObjAttribute"

    Hmm... The fact that you are not seeing another stack in your logs
    with "objectsFromDataRows" in it speaks against my theory, as
    internally it would also call "writePropertyDirectly". Don't know
    what else can cause it.

    Andrus

    On Nov 3, 2005, at 10:14 AM, Andrus Adamchik wrote:
    > One possibility to consider though... Do you ever fetch data rows
    > or use SQLTemplate and then manually convert rows to Company
    > objects via DataContext.objectsFromDataRows(..)? This is where type
    > info can get blurry as Cayenne can't match "raw" data row query
    > results with the right ExtendedTypes.
    >
    > In the future we should probably do extra type checking and
    > conversions in "objectsFromDataRows" ... but there maybe an easier
    > workaround in your case if this is indeed what's causing the problem.
    >
    > Andrus
    >



    This archive was generated by hypermail 2.0.0 : Thu Nov 03 2005 - 02:35:39 EST