求助,我想将我的持久性xml属性值引用到我的db.properties文件中.
这是我的db.properties文件
jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/apsas jdbc.username=root jdbc.password=password
这是我当前的persistence.xml
org.hibernate.ejb.HibernatePersistence
我想要做的是将其属性设置为这样
org.hibernate.ejb.HibernatePersistence
问题是如何将属性文件导入我的持久性xml高级感谢那些能帮助我的人...