orm - Hibernate reverse engineering: generate hbm.xml with escaped column names (backticks) -
i wondering if there way generate hibernate mapping files (hbm.xml) columns escaped (i.e. backticks).
so instead of
<property name="mycolumnid" type="java.lang.long">
i like
<property name="`mycolumnid`" type="java.lang.long">
i did see can specify
<property name="hibernate.globally_quoted_identifiers" value="true"/>
...(from here) i'm not sure insert that. i've tried inserting hibernate.cfg.xml did not notice difference. option hibernate use literal casing instead of escaping names in hbm.xml?
there similar question here: https://forum.hibernate.org/viewtopic.php?p=2398283
thank in advance help! :d
Comments
Post a Comment