cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Huss <johnth...@gmail.com>
Subject Re: Problem in fetching the data from multiple tables with relationships.
Date Wed, 12 Dec 2012 21:20:17 GMT
I'm not really sure what your question is.  Cayenne will fetch all of the
fields that are modeled and turn them into objects.  And you can add
prefetching paths to your SelectQuery to pre-fetch the related objects,
otherwise they will be loaded when accessed.  If you want to write your own
SQL and get a HashMap of the data you can use SQLTemplate instead of
SelectQuery.

John

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