摘要:
spring data jpa用于单表操作较为友好,对于实现部分查询,以及多表关联,而且涉及到聚合,分组,排序,分页,可使用原生sql形式,对于结果的映射接收,普通的DTO对象无法正常接收,可以手动映射或者定义Entity; 1)手动去封装结果集 public List<StatisticItemN 阅读全文
摘要:
报错信息: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine s 阅读全文