Hi Sum, It is the order in which you define the sqlMap files in the sqlmap-config.xml. If you want to reference a statement declared in another sqlMal.xml file put this entry on top of the file that is referencing the statement.
Like <sqlMap resource="folder/persistence/sqlmapdao/sql/Shop.xml"/> <sqlMap resource="folder/persistence/sqlmapdao/sql/ValueObjects.xml"/> Assume there is an insert (Transport company) in the shop.xml and the ValueObjects has the list of Transport companies cached. Have the shop.xml listed in sqlmap-config.xml before the valueobjects.xml. On Insert in the shop.xml you want to flush the list of transport companies cached in valueobjects.xml. Rgds Prashanth. --- Daniel Henrique Ferreira e Silva <[EMAIL PROTECTED]> wrote: > Hi Sum, > > How are your config files? Have you enabled namespaces in your > sqlmap-config.xml and declared one for each sqlmap.xml file? > > Can you post your config files? > > Cheers, > Daniel Silva. > > On 8/30/05, H.E. Sum <[EMAIL PROTECTED]> wrote: > > Does anyone know how to reference a statement in > > another mapping file for the flushOnExecute > > property? I tried prepending the namespace and IBatis > > can't seem to find the statement. > > > > Thanks > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com