[
https://jira.jboss.org/jira/browse/JBIDE-4265?page=com.atlassian.jira.plu...
]
Dmitry Geraskov commented on JBIDE-4265:
----------------------------------------
If class(let's call it Person) conteins filead(let's call it children)
collection(Set, Map, etc) HBMBinder set Entities table to 'Person' and
children's collectionTable to Person too. So collection table will never be null. At
first if I couldn't determine collectionTable I lived it as null, so I faced the NPE.
Now I do the same - I just set collectionTable to owner-Entyty's table. So, not shure
we need this issue to be fixed.
Table for collections(set, map...) shouldn't be required when hbm
file is been exporting.
-----------------------------------------------------------------------------------------
Key: JBIDE-4265
URL:
https://jira.jboss.org/jira/browse/JBIDE-4265
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: Hibernate
Affects Versions: 3.1.0.M1
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Fix For: 3.1.0.CR2
Attachments: patch.txt
We need to check that table was set for collections before export it. Now it is done in
the following way:
table="${value.collectionTable.name}"
without any checks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira