dbunit and the hibernate3 plugin use the properties in pom.xml and jdbc.properties (which gets filtered at build time). If you don't want to specify properties in two places, you have two options:
1. Specify them in pom.xml and put variables in jdbc.properties and hibernate.cfg.xml (although you should only need to specify settings in jdbc.properties). 2. Specify the properties in jdbc.properties and filter them into pom.xml. http://maven.apache.org/guides/getting-started/index.html#how_do_i_filter_resource_files Hope this helps, Matt On 5/25/07, nmall <[EMAIL PROTECTED]> wrote:
Hi In appfuse, I have the jdbc.url in my pom.xml as well as in my hibernate.cfg.xml as connection properties in <session-factory>. Is the pom.xml used initially to find the database instance and the hibernate.cfg.xml when the login Action kicks in? Don't these have to be the same database instance/user/password. Thanks N -- View this message in context: http://www.nabble.com/jdbc-url-in-pom.xml-and-hibernate.cfg.xml-tf3816355s2369.html#a10803754 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]
