Thanks. It seems to be the right thing.
As I understand toGenericXML() should display the DOM as text. When I attempt that, I get
<?xml version="1.0" encoding="UTF-8"?>
<hibernate-generic datetime="15 July 2004 15:10:37"/>
However, when I apply that DOM to a XSL transformation, it shows that the DOM contains elements not shown in toGenericXML() .....
So is there really a way to see (as text) the DOM that Hibernate built from query, with all objects included? Basically I need to see what Hibernate returned (the XML structure, how it represents data there, etc) and create a XSL file for it.
I think I'm misunderstanding something about it though. :)
Thanks,
Yuri.
|