Spring旅程(一)为什么使用Spring Home » 编程开发 » Spring旅程(一)为什么使用Spring Spring框架 从抽象工厂开始说起public interface UserDao {public void … 阅读更多
java.lang.ClassCastException: com.sun.proxy.$Proxy* cannot b Home » 编程开发 » java.lang.ClassCastException: com.sun.proxy.$Proxy* cannot b 临床表现: 病例: 定义代理类: UserDaoImpl implements UserDao extends … 阅读更多
使用Spring注解注入属性 Home » 编程开发 » 使用Spring注解注入属性 1.1. 使用注解以前我们是怎样注入属性的 类的实现: public class UserManagerImp … 阅读更多
MyBatis从入门到精通—MyBatis的Dao实现和配置文件深 Home » 编程开发 » MyBatis从入门到精通—MyBatis的Dao实现和配置文件深 Mybatis的Dao层实现传统开发方式编写UserDao接口public interface UserDao … 阅读更多
spring原始注解(value)-03 Home » 编程开发 » spring原始注解(value)-03 本博客依据是是??spring原始注解-02??的代码 注入普通数据类型:@Value注解的使用 1.添加dr … 阅读更多