-->
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: MappingNotFoundExcption not only for insert and update
PostPosted: Mon Nov 02, 2009 5:34 am 
Newbie

Joined: Mon Nov 02, 2009 5:28 am
Posts: 2
Hello everyone,

I am wondering if there is a way to setup hibernate to throw a mappingnotfoundexpcetion on select statements as well as for insert and update statements?

If I forget to put one mapping into my hibernate.cfg file and I try to save a hibernate bean, it throws me a mappingnotfoundexception. But if I try to load a dataset it will be null and no exception was thrown.

Any ideas how to fix that?

Best regards,
Hauke Gulich


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.