Monthly Archives: March 2009

Hibernate and Composite keys

I like using surrogate keys for most of the database designs for the following reasons: Simplifies design and may improve efficiency Maintainability: Change to the meaning of the natural key could change the table structures when using natural keys Natural … Continue reading

Posted in Hibernate, Java | Tagged , , | 2 Comments

Mock objects and Testing

This has been a much discussed topic over the web in the last couple of years. I was responding to one of the emails at work about mock objects. While organizing my thoughts about Mock objects, I decided to write this post.   … Continue reading

Posted in Agile, Java | Tagged , | Leave a comment