spring-boot-chapter
spring-boot-chapter copied to clipboard
24章BookDataSourceConfigurer的getVendorProperties方法错误
//获取jpa配置信息
private Map<String, String> getVendorProperties(DataSource dataSource) {
return jpaProperties.getHibernateProperties(dataSource);
}
getHibernateProperties形参为HibernateSettings类型,传的dataSource报错