摘要:
public BaseDaoImp() {ParameterizedType type= (ParameterizedType) this.getClass().getGenericSuperclass();this.class1=(Class<T>) type.getActualTypeArguments()[0];System.out.println(class1);}原因是 beans.xml中的事务配置<!-- 配置事务 --> <!-- enable the configuration of transactional behavior based on 阅读全文
posted @ 2013-06-16 19:40 TimeFight 阅读(391) 评论(0) 推荐(0)
浙公网安备 33010602011771号