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 workL

 

(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

Reply via email to