Motivation

No ORM please

We selected this example because we think, on certain occasions, it is important to connect to a database in a simple way. Not always it is recommended to use ORMs so when you need to connect a database using JDBC you realize there are a lot of awkward objects interacting with a lot of checked exceptions. Testing here it 's not easy but it is a perfect case to use test doubles, in particular mocks.

Last updated

Was this helpful?