-->
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.  [ 2 posts ] 
Author Message
 Post subject: How to use hibernate DAO interface produced by hbm2dao?
PostPosted: Mon Mar 19, 2007 10:47 am 
Newbie

Joined: Sat Mar 17, 2007 2:17 pm
Posts: 6
Hi! I was finally able to let the dao interface created by hbm2dao compile under jdk 1.4. If you have similar problems, here you can find a patch that apply to svn version. Now i have 2 questions:

1) Can i trust this interface? Is there documentation about it (can't find it in hibernate manuals)? In particular i'm interested in an example of use of "List findByExample(ClassType istance)" method.

2) How do i quickly obtain the same effect of the method "List findAll()"? Unfortunately this dao method is not generated by hbm2dao :-(

Thanks for the help!

Francesco


Top
 Profile  
 
 Post subject: Re: How to use hibernate DAO interface produced by hbm2dao?
PostPosted: Mon Mar 19, 2007 12:31 pm 
Newbie

Joined: Sat Mar 17, 2007 2:17 pm
Posts: 6
Refresh. Flooded by max :-)


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

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.