Philipp Khlupin created NETBEANS-986:
----------------------------------------
Summary: 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
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}
<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!
--
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