开发四年只会写业务代码,分布式高并发都不会还做程序员?->>>
public interface BaseDao<T extends Serializable>!!DAO中泛型实现了序列化接口然后在service层中要接收实体类型!那么实体类型也是要序列化吗?
为什么泛型User那里有错!提示Bound mismatch: The type User is not a valid substitute for the bounded parameter <T extends Serializable> of the type BaseDaoImpl<T>
是不是 user这个实体也要序列化
...全文
213打赏收藏
public interface BaseDao!!DAO中泛型实现了序列化接口然后在service层中要接收实体类型!那么实体类型也是要序列化吗?
开发四年只会写业务代码,分布式高并发都不会还做程序员?->>> public interface BaseDao!!DAO中泛型实现了序列化接口然后在service层中要接收实体类型!那么实体类型也是要序列化吗? 为什么泛型User那里有错!提示Bound mismatch: The type User is not a valid substitute for the bounded parameter <T extends Serializ