当前位置: 代码迷 >> Eclipse >> hibernate菜鸟有关问题!
  详细解决方案

hibernate菜鸟有关问题!

热度:29   发布时间:2016-04-23 18:40:52.0
hibernate菜鸟问题!急。。。在线等
<?xml   version= "1.0 "   encoding= "UTF-8 "?>
<!DOCTYPE   hibernate-configuration   PUBLIC
"-//Hibernate/Hibernate   Mapping   DTD   3.0//EN "
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd ">

<hibernate-configuration>

<session-factory>

<!--Database   connection   settings(数据库连接设置)-->
<property   name= "connection.driver_class "> com.mysql.jdbc.Driver </property>
<property     name= "connection.url "> jdbc:mysql://localhost:3036/myproject </property>
……

会提示property有错。
the   content   of   element   type "property "   must   match "(meta*,(column|formula)*,type?) "  

但是教材上面是这样的,是我漏了什么吗?


------解决方案--------------------
没问题啊,
------解决方案--------------------
no problem
------解决方案--------------------
书上可能写错的
  相关解决方案