Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with SQLite #172

Open
hasanatkazmi opened this issue Jul 24, 2021 · 0 comments
Open

Does not work with SQLite #172

hasanatkazmi opened this issue Jul 24, 2021 · 0 comments

Comments

@hasanatkazmi
Copy link

Wanted to confirm that SQLite does not work out of box.

I added following dependencies:

SQLite JDBC driver: https://github.com/xerial/sqlite-jdbc
Dialect: https://github.com/gwenn/sqlite-dialect

and these configs:

spring:
  datasource:
    driverClassName: org.sqlite.JDBC
    url: jdbc:sqlite::memory:eventeum-db?cache=shared
    username: sa
    password: sa
  jpa:
    show-sql: true
    properties:
      hibernate:
        format_sql: true
        dialect: org.hibernate.dialect.SQLiteDialect
        enable_lazy_load_no_trans: true
    hibernate:
      ddl-auto: update
database:
  type: SQL
 

Got these error:

Caused by: java.sql.SQLFeatureNotSupportedException: null
	at org.sqlite.jdbc4.JDBC4PreparedStatement.setBinaryStream(JDBC4PreparedStatement.java:78) ~[sqlite-jdbc-3.25.2.jar!/:na]
	at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.setBinaryStream(HikariProxyPreparedStatement.java) ~[HikariCP-3.2.0.jar!/:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant