摘要:
Struts2一个重要点就是值栈。 ValueStack,是用来存储一些在各个action,或者说是通过s标签、el表达式等给前台Jsp等页面展示的东西。 ValueStack是一个接口,其内部接口非常简单: 和一个普通的栈没多大区别。 他的实现类就比较复杂了(其实也不复杂...) public c 阅读全文
摘要:
select * from test1 a,test2 b where a.no=b.no;;内连接 select * from test1 a left join test2 b on a.id=b.id;左外连接 select * from test1 a right join test2 b 阅读全文
摘要:
查看某个变量的值:show variables like 'autocommit'; 设置变量值: set @@autocommit=0;(取消自动提交事务); sql命令为:begin->insert into table_name values(1,1);->rollback;->select 阅读全文