For the PAINTING DbEntity (the database definition, not the Java
ObjEntity definition) in Cayenne Modeler, look under the Attributes
tab. There you'll see an ARTIST_ID and a GALLERY_ID. These are the
foreign keys to the ARTIST and GALLERY. If you are looking at the
ObjEntity, you will not see th
Hi,
I just started with the cayenne-tutorial using java-6 and cayenne-2.0.4.
After scanning the forum I did not find any hints for my problem. So please
excuse my stupid question: How are the foreign keys in the table PAINTING
defined?
Thanks for your help,
Choppa
--
View this message in conte
I just read both links. I think that having some concept, that avoids using DAO
schema, would be very good. For most web applications DAO is just overhead and
require to write large infrastructure. Would be good to have flexibility of
ActiveRecord or Django ORM for many solutions where just 5 ta
Hi Ari,
thanks for pointing to that dev discussion thread. I was going to do
the same. In fact my own interest in this approach started as a result
of David posting his first example:
https://issues.apache.org/cayenne/browse/CAY-877
And I hope to reuse his work if possible (and at the m
Haven't read it yet. Will look at it, thanks very much! I would really
appreciate some Cayenne standardized way, if there will be some.
David Marko
Aristedes Maniatis wrote:
On 24/02/2008, at 9:13 PM, David Marko wrote:
// find first item by property and given condition
co_manager
.find(Cla
On 24/02/2008, at 9:13 PM, David Marko wrote:
// find first item by property and given condition
co_manager
.find(Class).byProperty("property").BETWEEN(value1,value2).first()
co_manager.find(Class).byProperty("property").LIKE(value).first()
co_manager.find(Class).byProperty("property").IN(range
Hello,
a few months ago a wrote about creating alternative approach for using Apache
Cayenne. Actualy I use Cayenne with Click Framework and following scenario came
from practice on several projects. The main idea is to use Cayenne as very
stable background(engine) but alter API to something cl