首页 > 解决方案 > 是否可以使用 SpringJPA 配置 Presto?

问题描述

根据以下错误,Presto 似乎不是与 Spring JPA 描述兼容的有效数据源:

Failed to bind properties under 'spring.jpa.database' to org.springframework.orm.jpa.vendor.Database:
Property: spring.jpa.database
Value: presto
Origin: class path resource [application.yml]:101:22
Reason: failed to convert java.lang.String to org.springframework.orm.jpa.vendor.Database
Action: Update your application's configuration. The following values are valid: DB2 DEFAULT DERBY H2 HANA HSQL INFORMIX MYSQL ORACLE POSTGRESQL SQL_SERVER SYBASE

请想法或建议?

标签: spring-bootspring-data-jpaprestopresto-jdbc

解决方案


推荐阅读