Programming

Programming articles from Sudo engineers: Java design patterns, Python, AI and data, and web development, with runnable code examples.

Programming

Programming
3 October 2024 15 min read

Repository pattern and Unit of Work with JPA

Here is a very familiar snippet in Spring projects: a service class calls entityManager.createQuery("select o from Order o where ...") right in the middle of payment logic, elsewhere the same query is...

See more