On 9/17/07, mindundi <[EMAIL PROTECTED]> wrote: > > It seems to be not only about sqlmaps, but also about core classes, like > MailEngine. > The tests pick the classes in the appfuse jars if they are run through > Maven, but pick the classes in src if they are run within Eclipse.
This is expected behavior. If you want to modify core classes (outside of model objects), you'll need to run appfuse:full-source and de-couple your project from AppFuse. Another option is to create a new MailEngine class (with a different package name) and override the default bean definition by putting it in your applicationContext.xml (which is loaded after applicationContext-service.xml). Matt > > I could not enter the JIRA issue, because I cannot register: > > http://www.nabble.com/Can%27t-log-in-JIRA-tf4339106s2369.html#a12360128 > > > mraible wrote: > > > > Please enter an issue for this in JIRA. In the meantime, you could > > change the filename and reference to it in sql-map-config.xml. > > > > Matt > > > > > > On 9/12/07, mindundi <[EMAIL PROTECTED]> wrote: > >> > >> We have needed to change UserSQL.xml map file in order to adapt it to > >> Oracle > >> sequences with <selectKey>. > >> The path to our custom sqlmaps is > >> /src/main/resources/sqlmaps > >> including our own UserSQL.xml map. > >> > >> Everything is OK when running the application, but the DAO Test are using > >> the default maps in > >> appfuse-ibatis-2.0-m5.jar > >> and therefore they are not working properly (classpath issue?). > >> > >> We've searched some posts and docs like the "AppFuse Core Classes" > >> tutorial, > >> but didn't find a clear solution. We would like one that would allow us > >> to > >> upgrade easily. > >> > >> I would thank any help. > >> -- > >> View this message in context: > >> http://www.nabble.com/iBATIS-DAO-Tests-using-default-Appfuse-SqlMaps-tf4428926s2369.html#a12634370 > >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > http://raibledesigns.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/iBATIS-DAO-Tests-using-default-Appfuse-SqlMaps-tf4428926s2369.html#a12733218 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
