[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3636) Attempt to read invalid column when loading collection of subclasses mapped with table-per-subclass with discriminator
Chris Bredesen (JIRA)
noreply at atlassian.com
Tue Dec 9 16:16:15 EST 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31905#action_31905 ]
Chris Bredesen commented on HHH-3636:
-------------------------------------
This results in an error something like this:
INFO IntegerType:203 - could not read column value from result set: l4_3_; Invalid column name
> Attempt to read invalid column when loading collection of subclasses mapped with table-per-subclass with discriminator
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: HHH-3636
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3636
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.2.4.sp1, 3.2.6, 3.3.1
> Reporter: Chris Bredesen
> Assignee: Chris Bredesen
> Priority: Minor
> Original Estimate: 6 hours
> Time Spent: 4 hours
> Remaining Estimate: 2 hours
>
> This problem is described in this forum post:
> http://forum.hibernate.org/viewtopic.php?t=992703
> Hibernate attempts to read an invalid column from the collection result set when the following conditions are present:
> 1. Instances of a subclass are contained in a collection
> 2. The subclasses are single-table + a <join> (table-per-subclass with discriminator)
> 3. The <join> portion of the subclass contains at least 3 of its own columns
> 4. The <join> tables are fetched by select (non default)
--
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