JPA Console + Spring Boot + Spring Data JPA

Answered

Hi.

I made up the project with reference to https://spring.io/guides/gs/accessing-data-jpa/

and

The data generated in the database after application execution is as follows.

Running JPQL using JPA Console results in an error.

 

The solution I found is as follows. Anything else?

// application.properties

spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

 

0
3 comments

Not sure I understood the question. Does it work after you set `spring.jpa.hibernate.naming.physical-strategy` property?

Can you share a sample project? 

0
Avatar
Permanently deleted user

Yes. it work after set `spring.jpa.hibernate.naming.physical-strategy` property.

My question is, is there another way to set the `spring.jpa.hibernate.naming.physical-strategy` option?

Here is sample project

https://github.com/YooYoungmo/spring-data-jpa-sample

 

 

0

I think it is better to ask this question on Spring-related forums or StackOverflow as it is more related to Spring than IntelliJ IDEA.

0

Please sign in to leave a comment.