I think you can use resultmap extension, first define a resultmap for the 3 properties, then create a new one that extends it with the other 17 fields.

 

HTH,

 

Niels

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: donderdag 18 mei 2006 14:26
To: [email protected]
Subject: resultmaps

 


Hi all !!

I have the followiing situation:

I have a table with 20 fields in it.

I have 2 different queries.
One query where I have to select all fields and another query where I have to select only 3 fields from that table.

Can I resuse the same resultmap for those 2 queries ? And yes ... How ?
I have tried it but I got some error on the properties that were not filled in ...

Thanks in advance !

  • resultmaps Tom . Stroobants
    • RE: resultmaps Niels Beekman

Reply via email to