Message:
The following issue has been re-assigned.
Assignee: Gavin King (mailto:ga...@hi...)
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-609
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-609
Summary: replicate() with joined-subclass
Type: Bug
Status: Open
Priority: Major
Project: Hibernate2
Versions:
2.1.1
Assignee: Gavin King
Reporter: Greg Barton
Created: Tue, 6 Jan 2004 12:53 PM
Updated: Thu, 8 Jan 2004 12:58 AM
Environment: Hibernate 2.1.1, Postgres 7.4
Description:
Attempt to call Session.replicate() on a persistent object mapped using joined-subclass. A net.sf.hibernate.JDBCException is thrown because HIbernate attempts to access the "version" column in the underlying table. That column is only present in the superclass table of the class being being replicated.
Exception generated:
net.sf.hibernate.JDBCException: could not retrieve version: [***id of object***]
at net.sf.hibernate.persister.AbstractEntityPersister.getCurrentVersion(AbstractEntityPersister.java:1141)
at net.sf.hibernate.impl.SessionImpl.replicate(SessionImpl.java:3698)
at....
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|