You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Philipp Khlupin (JIRA)" <ji...@apache.org> on 2018/06/23 16:40:00 UTC

[jira] [Updated] (NETBEANS-986) One-To-One on reverse engineering hibernate

     [ 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

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
{code:java}
        <one-to-one name="TSiteuser" class="ru.samp_net.objects.TSiteuser" fetch="select" lazy="true">
            <column name="item_id" unique="true" />
        </one-to-one>{code}
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
> 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists