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
[解决办法]
书上可能写错的