ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meindert" <meind...@pastelebusiness.com>
Subject Implicit Result Maps
Date Thu, 20 Oct 2005 15:27:01 GMT
Is it possible to use “Implicit Result Maps” for (not to) complex
properties?

 

Example;

I’ve got a Person_Id as FK and the FirstName, LastName in a other table.

I would like to bind

Persons.FirstName to 'author.firstName’

 

To get the property name I select;

SELECT    Persons.FirstName as 'author.firstName’

But this doesn’t work:-(

 

(The resultMap would be;

            <result property='author.firstName’ column=”
Persons.FirstName”/>

)

 

MEINDERT HOVING



 


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 19/10/2005
 

Mime
View raw message