Fellows,

I have some troubles with a map that has the same column in map-key and
element, Hibernate doesn't allow this. So, I found in hibernate
bugzilla, a entry that said to change to formula, instead column in
element node.

I've changed in hbm file and its works fine. Then I try to change in
xdoclets tags to automate this change but.... XDoclet haven't a way to
it...

I need to generate this tag... look at element node.

    <map inverse="false" cascade="all-delete-orphan" lazy="false"
table="option_keyword" sort="natural" name="keywords">
      <cache usage="read-write"/>
      <key column="fk_option"/>
      <map-key type="string" column="keyword"/>
      <element type="string" formula="keyword"/>
    </map>

Reply via email to