Most often, Java developers are very skilled when it comes to programming languages, design patterns, frameworks and everything that's related to their programming language of choice.
However, the database is still uncharted territory, usually treated as a black box that we throw queries at and expect it to respond in no time. With this workshop, I want to get Java developers to know more about RDBMS so that they can design their application data access layer accordingly.
After watching this video course, you'll know all sorts of tips that you can readily apply to your current enterprise project.
- Statement fetching for Oracle, SQL Server, PostgreSQL and MySQL
- SQL pagination
- DTO vs entity queries
- The best way to fetch hierarchical data
- How and when to fetch JPA entities
- Fetching by natural id
- Association fetching best practices
- EAGER vs. LAZY fetching
- The best way to solve the LazyInitializationException
- How to fix the N+1 query issue
- The best way to fetch multiple JPA collections
- Why you should avoid the Open-Session in View Anti-Pattern
- JPA 2.2 Stream support
- How to provision the Hibernate query plan cache for best performance
Vlad Mihalcea is a Java Champion and one of the top Hibernate ORM project committers. He created the Hypersistence Optimizer tool which scans your application configuration and mappings and tells you what changes you need to do to speed up your data access layer.
He's been answering thousands of questions about Hibernate and JPA on StackOverflow for which he's got gold badges for Hibernate, Java, and JPA tags.
Whenever he finds something interesting, he likes to share it on his personal blog. He believes in Open Source Software, and he thinks every developer should get involved, one way or the other.