I'm reverse engineering like crazy... is working OK so far, but I'm looking for a clean way to externalize values in jdbconfiguration.
My Ant script looks like this:
Code:
<target name="generate.dao" depends="init" description="generate JPA / Hibernate artifacts">
<hibernate.tool destdir="dao">
<jdbcconfiguration propertyfile="database/nsdb/database.properties"/>
<hbm2java jdk5="true" ejb3="true"/>
</hibernate.tool>
</target>
I have another property file that is used by Spring and Tomcat that contains values such as the connection URL. Those values may be different for each member of our development team. I'd like to use the values from that file, instead of munging the database.properties mentioned above.
Anyone know of a way?