phpweb安装提示错误Fatal error的原因如何解决?

phpweb安装提示错误Fatal error的原因如何解决?,第1张

MySQL Error

说明你语法有问题 ,2071不能使用,请到

db.inc.php文件里重新配置下,2071建议使用一个抽象一点的数据库名字,我刚看还以为死2071行语法错误

没有你的完整源代码,无法测试

这是我们系统正确使用的配置。当然配置种类有很多,可以参看开发文档配置(hibernate网站上有)。

<?xml version="1.0"?>

<!DOCTYPE hibernate-mapping PUBLIC

"-//Hibernate/Hibernate Mapping DTD 3.0//EN"

"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >

<hibernate-mapping package="com.neusoft.talentbase.staffing.model.position">

<!-- for PositionAction -->

<class name="PositionPO" table="TB_PER_POSITION">

<id column="C_OID_POSITION" name="oid" type="long" unsaved-value="0">

<generator class="com.neusoft.talentbase.framework.core.id.TbHiLoGenerator" />

</id>

<property column="C_OPERATETIME" length="7" name="operateTime" not-null="true" type="timestamp" />

<property column="C_OPERATOR" length="22" name="operator" not-null="true" type="long" />

<property column="C_NAME" length="128" name="name" not-null="false" type="string" />

<property column="C_CODE" length="64" name="code" not-null="false" type="string" />

<property column="C_STATUS" length="2" name="status" not-null="true"

type="com.neusoft.talentbase.framework.core.code.StatusUserType" />

<property column="C_CREATETIME" length="7" name="createTime" not-null="false" type="date" />

<property column="C_REMARK" length="1024" name="remark" not-null="false" type="string" />

<many-to-one name="levelTypePO" not-null="false"

class="com.neusoft.talentbase.staffing.model.position.PositionLevelTypePO" column="C_LEVELTYPEID" lazy="true">

</many-to-one>

<many-to-one name="positionLevelPO" not-null="false"

class="com.neusoft.talentbase.staffing.model.position.PositionLevelPO" column="C_POSITIONLEVELID" lazy="true">

</many-to-one>

<many-to-one name="positionTypePO" not-null="false"

class="com.neusoft.talentbase.staffing.model.position.PositionTypePO" column="C_POSITIONTYPEID" lazy="true">

</many-to-one>

<!--<property column="C_LEVELTYPEID" length="22" name="levelTypeID"

not-null="false" type="long" />

<property column="C_POSITIONLEVELID" length="22"

name="positionLevelID" not-null="false" type="long" />

<property column="C_POSITIONTYPEID" length="22"

name="positionTypeID" not-null="false" type="long" />

-->

</class>

</hibernate-mapping>


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/7445535.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-05
下一篇 2023-04-05

发表评论

登录后才能评论

评论列表(0条)

保存