[
https://issues.apache.org/jira/browse/NETBEANS-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philipp Khlupin updated NETBEANS-986:
-------------------------------------
Description:
I have two tables with one-by-one relationship (see attached picture)
When I start generate hibernate reverse engineering mechanism
It generates one-to-many relationship
{code:java}
<set name="TSiteuserDatas" table="t_siteuser_data" inverse="true" lazy="true"
fetch="select">
<key>
<column name="item_id" unique="true" />
</key>
<one-to-many class="ru.samp_net.objects.TSiteuserData" />
</set>
{code}
Please fixt it or give me advice with workaround
!image-2018-06-23-19-37-53-561.png!
was:
I have two tables with one-by-one relationship (see attached picture)
When I start generate hibernate reverse engineering mechanism
It generates one-to-many relationship
Please fixt it or give me advice with workaround
!image-2018-06-23-19-37-53-561.png!
> One-To-One on reverse engineering hibernate
> -------------------------------------------
>
> Key: NETBEANS-986
> URL: https://issues.apache.org/jira/browse/NETBEANS-986
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 8.2
> Reporter: Philipp Khlupin
> Priority: Critical
> Attachments: image-2018-06-23-19-37-53-561.png
>
>
> I have two tables with one-by-one relationship (see attached picture)
> When I start generate hibernate reverse engineering mechanism
> It generates one-to-many relationship
> {code:java}
> <set name="TSiteuserDatas" table="t_siteuser_data" inverse="true" lazy="true"
> fetch="select">
> <key>
> <column name="item_id" unique="true" />
> </key>
> <one-to-many class="ru.samp_net.objects.TSiteuserData" />
> </set>
> {code}
> Please fixt it or give me advice with workaround
> !image-2018-06-23-19-37-53-561.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists