-->
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 Mapping Issue
PostPosted: Thu May 26, 2011 9:50 am 
Newbie

Joined: Mon May 19, 2008 8:49 am
Posts: 5
Hi,

I have three relational tables name "User", "System" and "SubSystem". The mapping is system table has foreign key relation with User with primary key systemName and subSystem have column subSystemName, systemName, description where subSystemName and systemName is composite primary key for table SubSystem.

The problem is: I have one row in SubSystem table with blank space in subSystemName and some text in systemName. At the time of login, I am getting an exception :

Code:
Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.navyfttt.bean.Subsystem#com.navyfttt.bean.SubsystemId@2ee80c43]


Can any one tell me what is the exact problem coz I search on net and found that this exception comes when the related row is not present but my data is present into the DB.

Thanks
Abhishek


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.