hibernate.cfg.xml文件如下:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
zpf
123
com.mysql.jdbc.Driver
jdbc:mysql://localhost:3306/test
org.hibernate.dialect.MySQLDialect
true
product.hbm.xml如下:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
hibernateUnable to read XML是因为什么?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
3条回答 默认 最新
Robot-C 2015-10-22 16:43关注/*By Jiangong SUN*/
How to read XML file easily?-
You can get your stream with a given url.
private string GetStreamString(string url) { try {......<br/><strong>答案就在这里:</strong><a target='_blank' rel='nofollow' href='http://blog.csdn.net/garcon1986/article/details/6912342'>Read XML file easily with LINQ to XML</a><br/>----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。
解决 无用评论 打赏 举报-