- 博客(4)
- 收藏
- 关注
转载 MySQL设置优化[转载]
MySQL的默认配置文件以节省资源为初衷,在资源有限、查询简单、数据集小的情况下运行良好,在查询复杂、数据集大时,配置文件需量身定制。引言Before you start changing configuration settings, you should keep in mind the fact that “more is not always better”. You might have 16-20 GB of RAM, but that doesn’t mean that you should
2010-12-25 16:15:00
396
原创 JSF2复合组件外部使用Ajax组件(f:ajax、p:ajax等)
在复合组件中定义: ... ... ... ...其中cc:clientBehavior中name定义对外声明的事件,event定义对内事件,targets代表众组件。在复用该复合组件时:
2010-11-21 16:01:00
1005
原创 从Hibernate创建InnoDB表
(1)改变dialect为org.hibernate.dialect.MySQLInnoDBDialect或org.hibernate.dialect.MySQL5InnoDBDialect for MySQL5(2)在MySQL设置文件my.cnf中新增default_table_type=INNODB
2010-11-14 20:39:00
1119
1
原创 忽略org.hibernate.ObjectNotFoundException: No row with the given identifier exists
在many-to-one中设置not-found="ignore"
2010-11-14 14:11:00
387
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人