The Builder Pattern – How to use it with Hibernate

The Builder Pattern – How to use it with Hibernate

When I shared last week’s article about implementing the fluent interface pattern on twitter, I got asked about using the builder pattern for your entities. Implementing the builder pattern for your entities can massively improve the readability of your business code. In contrast to the fluent interface pattern, there is nothing in the JPA specification…