ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carson Reinke" <crei...@MarketingAssociates.com>
Subject Namespace Problem
Date Fri, 27 May 2005 17:15:51 GMT
Hi-

Not sure if this is the right mail list, but having a little trouble
using the namespace in the SQL map.  I have something like this in a
resultMap:

<result property="someProperty" column="DB_COLUMN"
select="SomeNamespace.statementId"/>

I receive this error when trying to query:

--- The error occurred in iBATIS/sqlmap-XXX.xml.  
--- The error occurred while applying a result map.  
--- Check the XXX.XXX.  
--- Check the result mapping for the 'someProperty' property.  
--- Cause: com.ibatis.sqlmap.client.SqlMapException: There is no
statement named SomeNamespace.statementId in this SqlMap.]; SQL was []
for task [SqlMapClient operation]

Any ideas?  I the SQL maps doc said that was allowed.

Thanks.

Carson Reinke
creinke@marketingassociates.com
P: 248.333.7700 x108  

Mime
View raw message