What model do you use to query those objects again then??

Because if that is a model that does a query 1 by 1, trust me you can do WAY
better to query them at once is a bit more complex query..

johan


On Wed, Apr 23, 2008 at 10:41 AM, Jan Kriesten <[EMAIL PROTECTED]>
wrote:

>
> hi johan,
>
>  really?
> > so you are selecting the PK's from a database
> > and then in the model 1 by 1 the Implementation???
> > That looks horrible inefficient
> >
>
> well, i may be odd in this respect, but i don't use hibernate et al but
> ibatis.
>
> so, selecting pk's from one table to get a list is definetely more
> efficient compared to do a complex join over a couple tables, building all
> objects and holding the whole object list in memory when only 15 are needed.
> wouldn't you agree?
>
> best regards, --- jan.
>
>

Reply via email to