spring-boot - 是否可以使用 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
请想法或建议?
解决方案
推荐阅读
- java - 声纳中 InsufficientBranchCoverage 的 @SupressWarnnings 不起作用
- python - 为什么此调用不需要定义的 2 个参数?
- axapta - 维度查找挂起 AX 客户端?
- ansible - 如何将“parse_cli_textfsm”更改为引用 Ansible 角色文件夹中的模板文件夹?
- jquery - 在 ForEach 循环 Laravel 回复系统中防止我的 jQuery 循环
- python - 我可以在 conftest.py 中定义固定装置以外的功能吗
- php - 为什么我的 OnSelect 事件没有相应地触发
- ssrs-2012 - 如何保持组的顺序
- arrays - 谷歌表格公式提取日期
- python-3.x - 如何将 API 密钥凭证与 Google 文本转语音客户端库方法一起使用?