Make hibernate backquote all table / column names

前端 未结 1 1753
夕颜
夕颜 2020-12-01 14:46

I am faced with legacy system written to work with MySQL 5.0 and now need to migrate it to MysQL 5.5 (requirement). I found that one column was named maxvalue,

相关标签:
1条回答
  • 2020-12-01 15:16

    There is a non-documented property for this purpose. Use,

    <property name="hibernate.globally_quoted_identifiers" value="true"/>
    

    or

    <property name="hibernate.globally_quoted_identifiers">true</property>
    
    0 讨论(0)
提交回复
热议问题