Hi,
I was experimenting with Hibernate added new feature for XML persistence.
Hibernate Version: 3.1.2
Database: MS SQL Server
I was able to successfully query data and get XML results. I tried this both for a standalone table and two tables related one-to-one and associated through Primary Key. Also, I was able to successfully persist XML data to a standalone table (id generator assigned). However, having problems persisting XML data to two tables related one-to-one through primary key association. The primary key in one table is an identity (auto increment in MS SQL Server) and in the other table the primary key is a foreign key. I have the mappings done properly and Object-to-Relational persistence works.
I am wondering if any one has a success with this
Quote:
XML-to-Relational persistence feature
in this type of
one-to-one association.
Thanks,
Giri