ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Grenier" <Alexandre.Gren...@markettools.com>
Subject RE: ResultMap with constructor injection
Date Tue, 18 Jul 2006 01:55:26 GMT

You mean to allow read only instance members?

-----Original Message-----
From: Peter Mills [mailto:development@peter.mills.to] 
Sent: Monday, July 17, 2006 8:44 PM
To: user-cs@ibatis.apache.org
Subject: ResultMap with constructor injection


It does not currently seem possible to create a resultMap, in DataMapper

1.5 Beta, which only does constructor based injection.  If there is no 
result element, then execution fails with an 
XmlSchemaValidationException.  If I'm not in error, and this 
functionality doesn't exist,  it would be greatly appreciated.



Exception Message:
"The element 'resultMap' in namespace 'http://ibatis.apache.org/mapping'

has incomplete content. List of possible elements expected: 'result' in 
namespace 'http://ibatis.apache.org/mapping'."

View raw message