Quote: Interesting ... Is there a reason why andromdapp configures Spring not to use the container provided connection ? Is it recomended to let Spring handle all the connection by itself ? (end of quote)
Not really a reason, I had the connection properties (instead of the dataSource property) be specified by default (so it would work without creating a datasource in tomcat), all you need to do is comment out the following 4 properties of your mda/conf/andromda.xml: <property name="username">${dataSource.user}</property> <property name="password">${dataSource.password}</property> <property name="driver">${dataSource.driver.class}</property> <property name="connectionUrl">${dataSource.url}</property> and add this one: <property name="dataSource">${dataSource}</property> in the spring namespace. The JNDI datasource will then be generated instead. -- Chad Brandon - [EMAIL PROTECTED] http://www.andromda.org _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1742#1742 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user