数据库相关
iteye_13072
这个作者很懒,什么都没留下…
展开
-
MySQL Administrator 登录报错
使用MySQL Administrator 登录,报错: Either the server service or the configuration file could not be found.Startup variable and service section are there for disabled. 使用Root 登录进去以后看到管理功能都是禁止掉的,提示: ...原创 2009-11-04 09:48:29 · 160 阅读 · 0 评论 -
HQL如何执行update,delete相关的createQuery
String queryString = "delete from UserFolder as model where model.userId = ?"; Query queryObject = getSession().createQuery (queryString); queryObject.setParameter(0, userId).executeUpdate() ; ...2009-11-06 13:19:20 · 283 阅读 · 0 评论 -
hibernate.cfg.xml 配置 & C3P0 连接池配置
JDBC连接 hibernate.connection.driver_class jdbc驱动类 hibernate.connection.url jdbc URL jdbc:mysql://localhost:3306/task?autoReconnect=true 自动重连 hibernate.connection.username 数据库用户 hib...原创 2009-11-15 23:19:13 · 136 阅读 · 0 评论