JPA Uppercase table names

前端 未结 4 1145
你的背包
你的背包 2020-12-06 10:51

I have a table in Postgresql:

CREATE TABLE "UTILISATEUR"(
 
 "IdUtilisateur" serial NOT NULL,
 "Nom" character varying(50),
 &qu         


        
4条回答
  •  爱一瞬间的悲伤
    2020-12-06 11:24

    maybe because you are using MYSQL5DIALECT there's a Postgres Dialect just used post it like this and for the improved naming strategy use EJB3 like Spring boot JPA insert in TABLE with uppercase name with Hibernate

    spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
    

    hope it works for you

提交回复
热议问题