[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3712) Number of hbm genetation bugs
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Thu Feb 26 04:53:44 EST 2009
[ https://jira.jboss.org/jira/browse/JBIDE-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12454403#action_12454403 ]
Max Rydahl Andersen commented on JBIDE-3712:
--------------------------------------------
>>The changes to proxyinterfacename handling in persistent-class made no sense to me - why where the methods removed and why were the check for classname==proxy removed ?
>Because that method was the same as cfg2HbmTool.getClassName() - it always returned className - not a ProxyName - so proxy name could not be exported.
1) It does not always return classname - you can actually specify a proxy (this is old school Hibernate ;)
2) and having classname == proxyname means you want a default generated proxy - so this can happen and is supported but it is also the default behavior hence why we check for it.
3) removing methods from cfg2hbm and cfg2java is not something we can do since extenders of hibernate tools can rely on these.
> Number of hbm genetation bugs
> -----------------------------
>
> Key: JBIDE-3712
> URL: https://jira.jboss.org/jira/browse/JBIDE-3712
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Hibernate
> Affects Versions: 3.0.0.CR2
> Reporter: Dmitry Geraskov
> Assignee: Max Rydahl Andersen
> Fix For: 3.1.0
>
> Attachments: patch.rar, SetManyToManyTest.java
>
>
--
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
More information about the jbosstools-issues
mailing list