对于JS脚本程序错误问题,就我知道的,目前在运用这个写脚本时有时会有你说的那种情况。究其原因有:(1)后面脚本程序与前面脚本冲突,造成兼容性问题的,肯定会影响到前面,严重的是全部阵亡;(2)后面脚本错误,但本质上不与前面程序产生冲突或有联系的,只是后程序不执行,不会影响到前面,但是这种情况最好不要有,因为但凡程序要严谨点好,以免漏洞。
如果采纳,记得给分!!!
可能是你的配置文件user有问题参考一下
<!doctype hibernate-configuration public
"-//hibernate/hibernate configuration dtd 3.0//en"
" http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.driver</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost/hibernate_first </property>
<property name="hibernate.connection.username">root</property>
<property name="hibernate.connection.password">root</property>
<property name="hibernate.dialect">org.hibernate.dialect.mysqldialect</property>
<property name="hibernate.show_sql">true</property>
<property name="hibernate.hbm2ddl.auto">update</property>
<mapping resource="org/bai/du/vo/user.hbm.xml" />
</session-factory>
</hibernate-configuration>
=============================
user.hbm.xml
<?xml version="1.0" encoding="utf-8"?>
<!doctype hibernate-mapping public "-//hibernate/hibernate mapping dtd 3.0//en"
" http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
mapping file autogenerated by myeclipse persistence tools
-->
<hibernate-mapping>
<class name="org.lzq.jxlt.vo.user" table="user">
<id name="id" type="java.lang.integer">
<column name="id" />
<generator class="native" />
</id>
<property name="name" type="java.lang.string">
<column name="name" />
</property>
...
...
...
...
</class>
</hibernate-mapping>
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....