Published at: 04:07 pm - Sunday July 25 2010
If you want to change yourself, you might be able to do it within 5 minutes. But if you want to change an organization change needs time. Even when you are the CEO, change doesn’t happen because you announced it on a big meeting. But If you push towards change, If you don’t give up, [...]
Published at: 06:07 am - Sunday July 18 2010
Question: what are the properties which make a test a good unit test? If you have a good answer, check out my answer and add to it in the comments. If you don’t here is mine. Long Descriptive Name: For example returnsNullWhenCalledOnEmptyList is a nice name for a test Simple Clean Structure: A test performs [...]
Published at: 09:07 pm - Sunday July 11 2010
I consider Hibernate a great and useful tool. But it has some mean Exceptions lurking in the darker corners. Today I’d like to explore the ones from the title in a little more detail, including different approaches on how to avoid them. Let’s start with the well known LazyInitializationException. When you search for this one [...]