-->
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: Read and Compare data in the database - Nhibernate
PostPosted: Wed Jul 08, 2009 11:10 am 
Newbie

Joined: Fri Mar 13, 2009 10:23 am
Posts: 10
Hi all,

I'm writting a program that searches (by ID, Name and Surname but ID is a must) a passenger in one database table X and if found, save the details in another table Y (if not found, save the details anyway). I'm not familiar with NHibernate concept but I've managed to get the save (input values) part working. I need to check if the ID inserted by user in a screen exist in the database table X, and then save the details into table Y. Please, can you help me with the code or guidance on how to achieve this.

Thanks.


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.