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-493
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-493
Summary: ReverseXMLDatabinder and some improvments to XMLDatabinder
Type: New Feature
Status: Open
Priority: Minor
Project: Hibernate2
Components:
core
Versions:
2.1 beta 6
Assignee: Gavin King
Reporter: Ara Abrahamian
Created: Sun, 23 Nov 2003 2:57 PM
Updated: Mon, 24 Nov 2003 7:04 AM
Environment: latest cvs code, 24 november
Description:
ReverseXMLDatabinder is attached to this issue. It reads xml file generated by hibernate's XMLDatabinder and replicates the objects.
Also I've added unbind() and unbindAll() methods to XMLDatabinder (can be pulled up to Databinder superclass). unbind excludes an object from xml export. So if you have a graph of objects and only some of them should be xmlized then unbind the unneeded ones.
Also notice that ReverseXMLDatabinder.fromXml() treats TimestampType and DateType specially due to incorrect pattern used by the formXml() method of these two types (it doesn't read in the same format toString writes the date). This code should be moved to TimestampType and DateType.
Ara.
---------------------------------------------------------------------
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
|