Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有已经创建的数据库。数据库的列名包含空格、特殊字符,例如:- 人名、“人地址”等。
如何在hibernate-Mapping xml文件中提及这些东西?它会在这样的条件下工作吗?
?? 谢谢,魔术师
您可以使用带引号的标识符
<property name="personName" column="`Person Name`"/>