A code like this doesn't work: <hibernate-reverse-engineering> <table catalog="catalog" name="product"> <column name="id" property="id"> <meta attribute="use-in-equals">true</meta> </column> </table> </hibernate-reverse-engineering> also you should note that <primary-key> can't have a meta tag which would be useful this case. |