Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

[13:11:13 CDT(-0500)] <cwaymire> EricDalquist: you around? got a hibernate question you may be able to assist with.

[13:11:54 CDT(-0500)] <EricDalquist> sure

[13:13:30 CDT(-0500)] <cwaymire> so I have an xml document that represents an Topic, including all of the Announcement children and am using JAXB to unmarshal that into a Topic object. Passing that to the appropriate service to persist it, everything gets persisted properly except that the key column that binds the Announcement to the Topic (PARENT_ID) remains null.

[13:13:42 CDT(-0500)] <EricDalquist> hrm

[13:13:52 CDT(-0500)] <cwaymire> I thought that being as it is the key column for the mapped set, it would take care of it

[13:13:55 CDT(-0500)] <EricDalquist> so as a rule I always have had a seperate XML vs DB data model

[13:14:14 CDT(-0500)] <EricDalquist> just because the data models never match up exactly

  • No labels