From: <leg...@at...> - 2003-11-19 01:07:05
|
The following comment has been added to this issue: Author: Gavin King Created: Tue, 18 Nov 2003 7:05 PM Body: This should now be working in current CVS. Try it out! :) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-479 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-479 Summary: Session.replicate() does not preserve object associations Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Reporter: Brian Denny Created: Tue, 18 Nov 2003 11:56 AM Updated: Tue, 18 Nov 2003 11:56 AM Description: Calling session.replicate() on a parent object with a many-to-many-mapped List of children fails to replicate the association, i.e., no rows are created in the association table, although all the objects themselves are inserted. In order to see this bug, the objects you are trying to replicate() must have been actually load()ed from some other session; i.e., if you instantiate some objects freshly and assign ids to them and call session.replicate(), you don't see the bug. I have created a little project with an Ant build script which demonstrates this bug. You may download it from http://www.briandenny.net/hibernate_bug.tgz --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2003-11-19 16:10:24
|
The following comment has been added to this issue: Author: Gavin King Created: Wed, 19 Nov 2003 10:09 AM Body: I tried to build, and it failed with an xdoclet problem. Try again in a few hours, anonymous CVS is about 24 hours behind. If its still broken, send me a working build. ("working" means all i do is type "ant"). --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-479 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-479 Summary: Session.replicate() does not preserve object associations Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Reporter: Brian Denny Created: Tue, 18 Nov 2003 11:56 AM Updated: Tue, 18 Nov 2003 11:56 AM Description: Calling session.replicate() on a parent object with a many-to-many-mapped List of children fails to replicate the association, i.e., no rows are created in the association table, although all the objects themselves are inserted. In order to see this bug, the objects you are trying to replicate() must have been actually load()ed from some other session; i.e., if you instantiate some objects freshly and assign ids to them and call session.replicate(), you don't see the bug. I have created a little project with an Ant build script which demonstrates this bug. You may download it from http://www.briandenny.net/hibernate_bug.tgz --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2003-11-20 15:40:24
|
The following comment has been added to this issue: Author: Brian Denny Created: Thu, 20 Nov 2003 9:39 AM Body: It's still failing. I've reposted my test program (same URL), using hibernate2.jar built from current CVS, and with the XDoclet task removed from the build (i.e., mapping file already built). I also tested it with a clean Ant installation. So you should be able to "just run ant"; let me know if you have any further problems with it. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-479 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-479 Summary: Session.replicate() does not preserve object associations Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Versions: 2.1 Assignee: Reporter: Brian Denny Created: Tue, 18 Nov 2003 11:56 AM Updated: Thu, 20 Nov 2003 9:39 AM Description: Calling session.replicate() on a parent object with a many-to-many-mapped List of children fails to replicate the association, i.e., no rows are created in the association table, although all the objects themselves are inserted. In order to see this bug, the objects you are trying to replicate() must have been actually load()ed from some other session; i.e., if you instantiate some objects freshly and assign ids to them and call session.replicate(), you don't see the bug. I have created a little project with an Ant build script which demonstrates this bug. You may download it from http://www.briandenny.net/hibernate_bug.tgz --------------------------------------------------------------------- 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 |