You can implement a custom DbRowProcessor and start from there. Look at the sources of DbBeanFetcher to see how it gets a bean. You should be able to reuse most of it.
On 8/27/05, Keith Lea <[EMAIL PROTECTED]> wrote: > How does DbQueryManager do what I want then? It seems to only support > retrieving one bean per query. > > On Aug 27, 2005, at 1:45 PM, Geert Bevin wrote: > > > The DB bean fetcher is only able to fetch one type of bean per query. > > It is just a specialized DbRowProcessor implementation. > > > > On 8/27/05, Keith Lea <[EMAIL PROTECTED]> wrote: > > > >> I don't think this answers my question. I think JR Boyens answered it > >> by pointing me to DbBeanFetcher. > >> > >> On Aug 27, 2005, at 1:34 PM, Geert Bevin wrote: > >> > >> > >>> You can perform any SQL logic by using the object-oriented query > >>> builders and the DbQueryManager class. You should have a look at the > >>> Select class. > >>> > >>> On 8/27/05, Keith Lea <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>>> I'd like to join when getting thigns from the DB. Ideally I'd > >>>> like to > >>>> tell RIFE to retrieve multiple beans from the DB from one query, > >>>> and > >>>> then also allow me to access other columns from the results which > >>>> aren't in any beans (for synthetic columns like "MAX(date) AS > >>>> maxDate") > >>>> > >>>> How can I do this? > >>>> > >>>> _______________________________________________ > >>>> Rife-users mailing list > >>>> Rife-users@uwyn.com > >>>> http://www.uwyn.com/mailman/listinfo/rife-users > >>>> > >>>> > >>>> > >>> > >>> > >>> -- > >>> Geert Bevin Uwyn bvba > >>> "Use what you need" Avenue de Scailmont 34 > >>> http://www.uwyn.com 7170 Manage > >>> gbevin[remove] at uwyn dot com Tel +32 64 84 80 03 > >>> > >>> PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9 > >>> Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net > >>> _______________________________________________ > >>> Rife-users mailing list > >>> Rife-users@uwyn.com > >>> http://www.uwyn.com/mailman/listinfo/rife-users > >>> > >>> > >>> > >> > >> > >> > > > > > > -- > > Geert Bevin Uwyn bvba > > "Use what you need" Avenue de Scailmont 34 > > http://www.uwyn.com 7170 Manage > > gbevin[remove] at uwyn dot com Tel +32 64 84 80 03 > > > > PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9 > > Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net > > > > > > -- Geert Bevin Uwyn bvba "Use what you need" Avenue de Scailmont 34 http://www.uwyn.com 7170 Manage gbevin[remove] at uwyn dot com Tel +32 64 84 80 03 PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9 Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net _______________________________________________ Rife-users mailing list Rife-users@uwyn.com http://www.uwyn.com/mailman/listinfo/rife-users