]
Gail Badner updated HHH-4647:
-----------------------------
Fix Version/s: (was: 3.5.x)
3.5.2
This should be fixed for 3.5.2, scheduled for Wednesday.
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.2, 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: