One issue you might have, is I have noticed that you have an 'order of events'. If your attempting to use a statement from another map, make sure that map is loaded 'before' the calling map.
________________________________ From: Shane Courtrille [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 6:21 AM To: [email protected] Subject: RE: Using a select from another Map file Thank you very much. From: Milivoj Milani [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 2:23 AM To: [email protected] Subject: RE: Using a select from another Map file It is possible for sure as I am using it. <result property="SomeProperty" column="column_name" select="NamespaceName.SelectName"> Beware, you have to use this setting in sqlmap.config: <settings> <setting useStatementNamespaces="true" /> </settings> Cheers, Milivoj ________________________________ From: Shane Courtrille [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 10:29 PM To: [email protected] Subject: Using a select from another Map file Is it possible to have a <result property... which does a select from a different sqlMap file? I tried Namespace.statementName but no luck. Am I missing something? The only way I can see to do this would be to extend the class that the other select is in and that just seems very ugly. Thanks, Shane

