winter 改名为Dreamer。
这次发布第二个版本。
这次修复了很多BUG 和完善了部分功能。
1、改进用户服务层
以后在服务层中只需要继承BaseSupport 泛型类 就可以实现对对象进行增删改查,无需写代码
这次主要优化的是数据库访问层这一部分。
精简了Dao、DaoImpl、Server 这三层。
代码:
package com.pan.server; import org.dreamer.sql.server.BaseSupport; import com.pan.beans.User; public class UserServer extends BaseSupport<User>{ }
可以看到上面,只要继承了BaseSupport这个类,服务层的代码 就非常的少了。
2、改善对对象赋值时可能会引发的异常
框架下载地址:http://pan.baidu.com/share/link?shareid=851215548&uk=470382596
内涵Jar包、源码、Dome、说明