-->
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: Rückgabewert createQuery = null?
PostPosted: Fri May 28, 2010 6:50 am 
Newbie

Joined: Tue Apr 06, 2010 2:44 pm
Posts: 4
Wann gibt die Methode createQuery für Listen eines Sessionobjektes den Wert null zurück?
Wenn die Tabelle leer ist, gibt es eine Liste zurück. Wenn die Tabelle nicht befunden wird, gibt es eine Exception.
Nun habe ich einen Fall, wo der Rückgabewert null ist. Aber ich weiß nicht, warum. Hat da jemand vielleicht eine Idee?
Kann es irgendwie an der Datenbankverbindung liegen?


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.