• λ我爱Aspx >> Asp.Net >> hibernate菜鸟问题!急。。。在线等
  • hibernate菜鸟问题!急。。。在线等

  • :aspxer  Դ:csdn  :2007-7-6 2:47:19  ؼ:
  • <?xml version="1.0" encoding="UTF-8"?>

    google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_color_url = "000000";

    <!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?)"

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

    第2楼. 由 likgui 于 2007-4-21 16:03:24 发表

    没问题啊,

    第3楼. 由 ttabc 于 2007-4-23 20:26:37 发表

    no problem

    第4楼. 由 longresearch 于 2007-4-25 9:27:58 发表

    没有问题为什么eclipse划出红色波浪线,提示错误?难道是我漏了什么jar包?

    第5楼. 由 yuzhongfeiniao0167 于 2007-4-25 10:56:35 发表

    书上可能写错的

    第6楼. 由 longresearch 于 2007-4-25 13:48:22 发表

    但是我有看到过被的代码,也有这样写。为什么我会出现错误。

    Ҷƪл˵?
  • һƪ如何设置eclipse3.2.1+myeclipse5.0中的编码问题
    һƪ如何格式化一个字符串?