File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Need help on DAO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Need help on DAO" Watch "Need help on DAO" New topic
Author

Need help on DAO

Krishna Tota
Ranch Hand

Joined: Mar 22, 2008
Posts: 40
Hello friens,

Please wxplain this in brief.

Will methods in DAO's public interface throw exceptions?
If yes, what type of exceptions will be thrown?

Please list the Exceptions separately(Checked and Unchecked).

Thanks,
Krishna Tota
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


Will methods in DAO's public interface throw exceptions?
If yes, what type of exceptions will be thrown?

That depends on how you implement the DAO.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need help on DAO