我的webapp有一個hibernate配置文件,它指定db密碼,如下所示:在ant構建文件中指定db密碼
<property name="hibernate.connection.password">p1ssw2rd</property>它也有一個ant構建文件,是否可以在構建時指定db密碼,然後將它傳遞給冬眠?
<target name="init-development"> <property name="databasePassword" value="xxxx"/> </target>