How to configure Hibernate to put quotes around table names

前端 未结 3 1733
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-06 14:39

I\'ve got a situation where I\'m trying to create a table called \'user\' in Postgres, which throws an error due to Hibernate not putting table names in quotes:



        
3条回答
  •  庸人自扰
    2020-12-06 15:02

    This answer might help you: https://stackoverflow.com/a/3611916/947357 It shows how to quote table names in Hibernate and in JPA.

提交回复
热议问题