cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "WONDER" <>
Subject does Cayenne creates objects by hisself?
Date Sat, 22 Apr 2006 11:18:52 GMT

I have the folloging situation.

Entity "User"  has relation toMany "Visitor" its name is visitors.

Usually if I "Fetch" the object Visitor from DB and then call 


Cayenne fetches the object User from the DB automatically.

Now, creating a Visitor object. 

Visitor visitor = new Visitor();

and calling 


will Cayenne here creates the object User automatically, or I have to do it by myself?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message