ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Henrique Ferreira e Silva <dhsi...@gmail.com>
Subject Re: Namespace Problem
Date Fri, 27 May 2005 17:35:21 GMT
Hi Carson,

Did you enable namespaces in your sql-map-config?
Did you declare a valid namespace for your maps file?

Cheers,
Daniel Silva.

On 5/27/05, Carson Reinke <creinke@marketingassociates.com> wrote:
> 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