Menu

#185 Middlegenide generating duplicate properties

open
hibernate (22)
5
2005-08-19
2005-08-19
Anonymous
No

Hi,

I am using 1.3.2 of middlegenide and getting duplicate
mapping properties. I was wondering if r5 as mentioned
in a priovious post has been added to middlegenide.

I seems to happen on primary keys. I have included an
example of a key and its duplicate below.

Good Key:
<!-- bi-directional one-to-one association to BrndB -->
<one-to-one
name="brndB"
class="com.xxx.components.item.vo.BrndB"
outer-join="auto"
constrained="true"
>
<meta attribute="field-description">
@hibernate.one-to-one
class="com.xxx.components.item.vo.BrndB"
outer-join="auto"
constrained="true"
</meta>
</one-to-one>

Duplicate Key:

<!-- bi-directional one-to-one association to BrndB -->
<one-to-one
name="brndB"
class="com.xxx.components.item.vo.BrndB"
outer-join="auto"
>
<meta attribute="field-description">
@hibernate.one-to-one
outer-join="auto"
</meta>
</one-to-one>

Discussion


Log in to post a comment.