On 25/11/2009, at 12:17 AM, Lawson, Ben wrote:
> Perhaps it's inheritance?
>
> The name and templateId keys belong to the CBTemplate class. We are using
> single-table inheritance to distinguish between several types of templates
> (pages, components...). The fetch is for page templates, and th
Perhaps it's inheritance?
The name and templateId keys belong to the CBTemplate class. We are using
single-table inheritance to distinguish between several types of templates
(pages, components...). The fetch is for page templates, and the sort is based
on their name key.
At the moment, it loo
On Nov 24, 2009, at 4:25 AM, Anjo Krank wrote:
>> com.chello.dbkit.eo.CBPageTemplate found with globalID: > [templateId: '1011'] >
>
> vs:
>
>> at com.chello.dbkit.eo._CBTemplate.name(Unknown Source)
>
> Can this be an inheritance thing?
This is my guess as well. What's the difference b
com.chello.dbkit.eo.CBPageTemplate found with globalID:
vs:
at com.chello.dbkit.eo._CBTemplate.name(Unknown Source)
Can this be an inheritance thing? Also:
. The problem
is that occasionally the sorting trips up
ERXDatabaseContextDelegate.databaseContextFailedToFetchObject when
fa
WebObjects is embedded, and here's the full stack trace: :)
2009-11-23 17:27:46,048 FATAL -[7345:2020 3] Application (?:?) - Application
-1 handled exception: No com.chello.dbkit.eo.CBPageTemplate found with
globalID:
er.extensions.eof.ERXDatabaseContextDelegate$ObjectNotAvailableException: N
On Nov 23, 2009, at 6:59 AM, Lawson, Ben wrote:
Hey guys, hoping maybe one of you can shed light on this issue we've
been having intermittently:
We start by fetching all the rows out of a table using
EOUtilities.objectsForEntityNamed(editingContext, entityName), and
then filter that arra
Good catch, I meant sorting with ERXArrayUtilities.
I'll try the one-liner, was looking to optimize that series of calls anyway, so
thanks for that!
We're using the same database, same drivers. Enabling SQL debugging shows that
when the EOObjectNotAvailableException is thrown, there was in fact
On Nov 23, 2009, at 9:59 AM, Lawson, Ben wrote:
> Hey guys, hoping maybe one of you can shed light on this issue we've been
> having intermittently:
>
> We start by fetching all the rows out of a table using
> EOUtilities.objectsForEntityNamed(editingContext, entityName), and then
> filter th
It does not, the sort is based on a name attribute of the entity.
-Ben
On Nov 23, 2009, at 4:07 PM, Ken Anderson wrote:
> Ben,
>
> Does the sort include any relationships?
>
> Ken
>
> On Nov 23, 2009, at 9:59 AM, Lawson, Ben wrote:
>
>> Hey guys, hoping maybe one of you can shed light on thi
Ben,
Does the sort include any relationships?
Ken
On Nov 23, 2009, at 9:59 AM, Lawson, Ben wrote:
Hey guys, hoping maybe one of you can shed light on this issue we've
been having intermittently:
We start by fetching all the rows out of a table using
EOUtilities.objectsForEntityNamed(edit
Hey guys, hoping maybe one of you can shed light on this issue we've been
having intermittently:
We start by fetching all the rows out of a table using
EOUtilities.objectsForEntityNamed(editingContext, entityName), and then filter
that array with ERXArrayUtilities.sortedArraySortedWithKey(array
11 matches
Mail list logo