hibernate-cfg.xml
ビルド ファイルで Ant hibernatecfg タスクを使用してファイルを作成します。org.springframework.orm.hibernate3.LocalSessionFactoryBean
configLocation プロパティ ( ) のsessionFactory Bean ( ) でそのファイルを参照しますclasspath:hibernate.cfg.xml
。私の Bean 定義ファイルには、propertyConfigurer ( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
) もあります。
propertyConfigurer はファイル内で置換を行いhibernate.cfg.xml
ますか、それともそのファイル内のすべてをハードコーディングする必要がありますか?