-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate XML-to-Relational Persistence feature
PostPosted: Wed Mar 01, 2006 4:46 pm 
Newbie

Joined: Tue Feb 28, 2006 5:54 pm
Posts: 2
Location: Boston
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.