On Jun 1, 2006, at 6:38 PM, Christian Pekeler wrote:
If your movie is already really cool (1), setting it to 1 will not
make a difference, i.e. even though you called a set method, you
didn't change the object so there's nothing to save.
No, it wasn't. It is *really* a change. Furthermore, I d
It may be trying to propagate a null primary key. That is, it has
not generated a PK for an object that is marked to propagate its PK
to one of its related objects. These sorts of bugs are a real bother
to track down.
Chuck
On Jun 1, 2006, at 9:27 PM, Owen McKerrow wrote:
Hi Ken,
I d
Hi Ken,
I double checked and none of there are no to-one's that will be
created when an instance of this object is made. And if memory serves
me correct;y I believe I would get an error about not allowing null
relationships. The error below is talking about a Null value in a
Dictionary. W
Owen,
When you have a to-one relationship that's mandatory, EOF will
automatically create the related object for you. If you then create
your own and call the to-one relationship set method, the one EOF
created for you will just be floating around in the editing context.
So, the one you
Hi All,
We're working with a 3rd Party DB that we can't modify the schema of
and are receiving a strange error when trying to add a new row to a
particular table.
Below is the SQL that WO is generating and below that the error that
is produced. Its an Orcale 9i DB. However when we look at
Hi All -
I have a bunch of code screens for my app that I need
to create. I would like to create a template page
that uses model-view-controller, that I can duplicate
for each of the code screens.
Currently I have a code screen (CodePage.wo) that uses
a WODisplayGroup to list all records in my c
On Jun 1, 2006, at 2:35 AM, Adam Czysciak wrote:
Hi everyone!
Lately I discovered this Wiki article on EO objects freshness.
http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/
Caching_and_Freshness#Recommended
Previously I've been synchronizing objects with EOF delegate -
If your movie is already really cool (1), setting it to 1 will not
make a difference, i.e. even though you called a set method, you
didn't change the object so there's nothing to save.
Christian
While editing some Actor, I update some attribute in Movies. The
thing is - sometimes MOVIE is
Not sure why this just sent again ... Odd.
On May 31, 2006, at 4:31 PM, Mike Schrag wrote:
You can't localInstanceOfObject a new object (one that has not been
committed yet). There's no snapshot yet, so it would have odd side-
effects if they allowed you to do so (it would mean that when you
You can't localInstanceOfObject a new object (one that has not been committed yet). There's no snapshot yet, so it would have odd side-effects if they allowed you to do so (it would mean that when you save both editing contexts, it would commit twice, i would assume). Not sure if old versions of
Yeah, same guilty party, I think ... There's a chunk of code buried
down in EOF that tracks which objects should NOT have PKs generated.
There were a couple ways it could get into that code path -- one is
related to propagates PK, and the other was if the parent and child
are in two differ
Hi,
Mike Schrag wrote:
I probably didn't respond to this thread when I posted earlier, but
this problem ended up being
inheritance-across-models-that-eof-thinks-are-in-different-databases
thing I ranted about a couple days ago (described in
http://en.wikibooks.org/wiki/Programming:WebObje
What it comes down to is that hierarchical/graph-style data
structures are REALLY hard to do depth queries on with SQL ... Oracle
provides the "connect by" syntax that makes certain special cases
easier (but has huge restrictions), and getting that to play nicely
with EO probably would be a
I probably didn't respond to this thread when I posted earlier, but
this problem ended up being inheritance-across-models-that-eof-thinks-
are-in-different-databases thing I ranted about a couple days ago
(described in http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/
Using_EOF/Common_
Hi,
I have entities, let's call them: Actor, Producer and a many-to-many
relationship Movie. Movie has some additional attributes, so it's not a
simple junction table. For Actor I have also a flattened relation,
producers, which is "movies.producer". While editing some Actor, I
update some at
Hi, Mark,
On May 31, 2006, at 5:35 PM, Mark Ritchie wrote:
localInstanceOfObject() uses EOEditingContext's faultForGlobalID()
method.
faultForGlobalID() should find a new, unsaved EO's which are:
1) registered in the receiving EOEditingContext
2) registered in the attached shared EOEditingCon
Hi everyone!
Lately I discovered this Wiki article on EO objects freshness.
http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/
Caching_and_Freshness#Recommended
Previously I've been synchronizing objects with EOF delegate - whenever
object changes (new/updated/deleted), I do
Flor,
Two things spring to mind.
The first is to just have the entity cached in RAM via the setting
in EOModeler. Select the entity, inspect it, and go to the advanced
entity inspector (the second icon), and select the checkbox at the
bottom that says, "Cache in Memory". This will pull in
18 matches
Mail list logo