The following issue has been updated:
Updater: Greg Barton (mailto:gre...@ya...)
Date: Fri, 12 Sep 2003 5:46 PM
Changes:
Attachment changed to code.tar.gz
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-332&page=history
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-332
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-332
Summary: Calling session.save() twice on a timestamped object causes exception
Type: Bug
Status: Unassigned
Priority: Major
Project: Hibernate2
Versions:
2.1 beta 3
Assignee:
Reporter: Greg Barton
Created: Fri, 12 Sep 2003 5:46 PM
Updated: Fri, 12 Sep 2003 5:46 PM
Environment: MySQL 4.1, Connector/J 3.0.8
Description:
A mapped object with a timestamp and a set mapped causes a SQLException. (Due to a null SQL statement being sent to the JDBC driver.)
NOTE:
See attached tar. Run the ant script for a demonstration. (Target "sql_generate" to create DDL for database, "demo_broken" to see exception, "demo_fixed" to see normal execution.) The only jar I included was the hibernate-tools.jar, as I compiled it from a CVS snapshot.
Versions used:
Hibernate 2.1 beta 3
Hibernate tools from CVS snapshot 2003-09-04
---------------------------------------------------------------------
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
|