Hi all,
I'm using cayenne within an old 4GL-Project with meaningful Primary Keys.
Is there a 'best practice' to get this keys into the DataObject-Instance?
Actually I've various trouble with this ...
Any hint or code-sniplet would be helpful ...
-Juergen-
You can also use OSCache with Cayenne and have the cached queries
expire frequently, i.e. after 30 seconds
regards Malcolm Edgar
On Thu, Jul 30, 2009 at 6:36 AM, Mike Kienenberger wrote:
> Before you make your own custom solution, you might want to read up on
> Javagroup. It might not be a probl
Before you make your own custom solution, you might want to read up on
Javagroup. It might not be a problem to use it in your environment.
The main page starts off with this:
http://www.jgroups.org/
==
JGroups is a toolkit for reliable multicast communication.
(No
Sorry. I didn't see the part on multicasting. After looking at that
article, I suppose you could try to share an actual datacontext, but
that's probably not realistic since few apps have only one
datacontext.
It'll be a bit more complicated, but you should be able to use a
custom EventBridge.
well i am reading this from the documentation:
"... At the minimum, JMS setup requires a JMS server running, and subjects
for each of the DataDomains to be configured. JavaGroups is peer-to-peer
library that is embedded into applications. Default configuration provided
by CayenneModeler will work
I've never set it up, but it's easily configurable.
If you don't like the javagroups or JMS methodologies, you can define
your own -- I don't know what tomcat app-data-sharing ability is
available -- it probably depends on the container, but I don't
remember reading about any in the past.
However
Thanks Mike,
so the answer is yes, this can only be done using remote notification? is
this correct?
Isn't there a way to share the cache among two web application scopes
without going through the hassle of setting up remote notification?
When the two webapps are running on the same physical mac
Yes,
Here's a Cayenne 2.0 document on it:
http://cayenne.apache.org/doc20/configuring-caching-behavior.html
For 3.0:
http://cayenne.apache.org/doc/configuring-caching-behavior.html
On Wed, Jul 29, 2009 at 12:46 PM, Tobias
Schoessler wrote:
> Hi,
>
> is it possible to sync the cayenne cache of
Hi,
is it possible to sync the cayenne cache of two web applications running in
the same tomcat?
I observe one web app showing outdated data when the other is committing
updates. Both apps are using the same mapping configuration.
Do I need to use remote notification for this?
thanks
Tobias
Sorry ... I'm working with 2.0.4
actually I stopped using setObjectId.
Now on Commit the following CayenneRuntimeException is thrown;
Can't extract a master key. Missing key (esd_abteil), master ID
()
The relation for this is a 1:1 relation and the esd_abteil Property in the
belonging root-Objec
Manually invoking setObjectId() in the middle of CDO lifecycle isn't a good
idea, because data object might have already been registered in context with
another ObjectId. What CayenneRuntimeExeptions are you having and what is
your version of Cayenne?
2009/7/29 Juergen Saar
> Hi,
>
> I'm working
Hi,
I'm working on an 20 year old project with meaningful primary keys.
Till now, we used cayenne only for reading but now we are working on the
first 'real' Web-Components that handle Order-Data.
So I have to create the primary key myself.
In the Modeller I created ObjAttributes for the PK-Fie
Looks like some ObjAttribute does not have a correspoding DbAttribute. Check
that there are no validation problems when saving project in modeler. I'll
add better error message for that.
Misplaced spaces could have also cause problems, try to remove them and
commit.
2009/7/29 sridhar devatha
> i
13 matches
Mail list logo