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

use Spring 2.0.3 write an example #20

Open
jiangjihui opened this issue Jul 26, 2018 · 6 comments
Open

use Spring 2.0.3 write an example #20

jiangjihui opened this issue Jul 26, 2018 · 6 comments

Comments

@jiangjihui
Copy link

Hello,
Nice work.
I want to know how to use integrate JPA in Spring Boot, using Hibernate as JPA implementation and MySQL as database in SpringBoot 2.0.3,can you write an example for it?

ps:it may have a great differences to use SpringBoot 2.0.3.

@ghost
Copy link

ghost commented Aug 23, 2018

+1 I also can't get it to work :(

@raszkiewicz
Copy link

+1 Same problem. Hibernate Search 5.7.x complains when search is performed. Switching to 5.8.x - not able to start that project.

@muratia
Copy link

muratia commented Mar 26, 2020

Which version of MySQL are you using?

@raszkiewicz
Copy link

@muratia 8.0.15

@muratia
Copy link

muratia commented Mar 26, 2020

Initially, the connection string must have all these parameters
jdbc:mysql://localhost:3306/database?verifyServerCertificate=false&useSSL=false&requireSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&allowPublicKeyRetrieval=true

@raszkiewicz
Copy link

I have it like
?autoReconnect=true&characterEncoding=UTF-8&verifyServerCertificate=false&useSSL=false&requireSSL=false

It works fine for 5.7.x when creating indexes but then it complains when does the search. I have found that 5.7.x is not compatible with SpringBoot 2.2 Hibernate ORM version so switched to 5.8.x but that will not start at all.

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

3 participants