This notebook is a collection of code snippets and technical "how to" instructions.
Search This Blog
DAO: creating new model
by: Zainab Aziz
1. Write a model class with annotations.
2. Run hibernate3:hbm2ddl to create database scripts.
3. Write DAO interface.
4. Write jUnit test for DAO and make sure that they fail initially.
5. Implement DAO.
6. Pass jUnit test with all possible inputes to verify that DAO methdod work.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment