[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4647) Problems with @JoinColumn referencedColumnName and quoted column and table names
Sharath Reddy (JIRA)
noreply at atlassian.com
Fri Jun 18 19:40:20 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=37510#action_37510 ]
Sharath Reddy commented on HHH-4647:
------------------------------------
Hi Gail,
Sorry, no :-(. I have been on the road (literally) for the last few weeks. I will definitely resolve for 3.5.4 for sure.
> Problems with @JoinColumn referencedColumnName and quoted column and table names
> --------------------------------------------------------------------------------
>
> Key: HHH-4647
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4647
> Project: Hibernate Core
> Issue Type: Bug
> Components: annotations, core
> Affects Versions: 3.5.0-Beta-2
> Environment: current CVS, not database platform dependent
> Reporter: Peter Brant
> Assignee: Sharath Reddy
> Fix For: 3.5.x, 3.6
>
> Attachments: hibernate-annotations.patch, hibernate-core.patch, test-case.zip
>
>
> There are really two separate issues here, but the test case reduction and patches are so small (and involve related functionality) they are combined.
> #1: A referencedColumnName that references a quoted target column cannot be found. The test case is app.TestReferencedColumnName#testQuotedReferencedColumnName(). The patch is hibernate-annotations.patch.
> #2: An invalid referencedColumnName (including the unquoted version of a valid column) results in an infinite loop in o.h.c.Configuration$MappingsImpl#getPhysicalColumnName(). The test case is app.TestReferencedColumnName#testInvalidReferencedColumnNameOnQuotedTable. The patch is hibernate-core.patch. It looks like the same issue exists with getLogicalColumnName(), but I'm not sure where this is used (i.e. how to test it) so I left it alone.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list