Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

Presto jdbc yml config in spring boot application

$
0
0

I have this config file:

spring:
  datasource:
    url: jdbc:presto://host:123/hive/database
    username: user
    password: password
    SSL: true
    SSLKeyStorePath: ...jks
    SSLKeyStorePassword:
    SSLTrustStorePath: ...jks
    SSLTrustStorePassword:
    driverClassName: io.prestosql.jdbc.PrestoDriver
  jpa.show-sql: true

But I am getting org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

What am I missing here? I used this link so see the settings: https://prestodb.io/docs/current/installation/jdbc.html Except dependency I used:

<dependency>
            <groupId>io.prestosql</groupId>
            <artifactId>presto-jdbc</artifactId>
            <version>326</version>
        </dependency>

Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>