- 博客(10)
- 收藏
- 关注
转载 spring2.5事务&aop (3)
配置事务: <tx:advice id="txAdvice" transaction-manager="txManager"> <tx:attributes> &...
2008-05-17 09:17:55 80
转载 spring2.5事务&aop (2)
开发dao层: 接口: public interface FooDAO { abstract public void insert(Customer customer); } 实现类: pub...
2008-05-16 23:42:30 76
转载 spring2.5事务&aop (1)
数据库使用MYSQL,创建数据库 create table customer ( id int(11) not null auto-increment, ...
2008-05-16 23:38:11 91
转载 J2EE持久层
J2EE底层可以使用的框架有很多,比如hibernate,IBatis等等, 本人只使用过Hibernate,而且经常使用它继承Spring以及EJB做业务的开发,不可否认的是Hibernate的确是J2EE持久层...
2008-05-10 19:26:06 109
转载 Hibernate 优化
最好将batch size 设置为一个适当的值一般为30-50,在大量插入的时候停止一级缓存, 否则有可能引起内存溢出,或者每组flush一次,之后清空即可。 在批量更新,检索时注意使用游标Scrollable...
2008-05-10 19:17:57 72
转载 EJB--Query Best Practices
Named QueriesFirst and foremost, we recommend named queries whenever possible. Persistence providerswill often tak...
2008-05-10 19:16:01 88
转载 object file byte转换
public static byte[] getBytesFromFile(File f){ if (f == null){ return null; } ...
2008-05-10 19:14:10 157
转载 spring 2.5 aop 1
Spring 2.5 aop 类别 函数 入参 说明 方法切点函数 execution 方法匹配模式串 满足某一匹配模式的所有目标类方法的连接点。如executio...
2008-05-08 22:54:39 62
转载 Spring 发布 RMI (客户端)
客户端: package remote.rmi.client; import remote.rmi.AccountService; public class SimpleObject { pri...
2008-04-28 22:45:55 72
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人