Coffee with Thorben 2020-02-26 – Utility classes that make your life easier

Coffee with Thorben 2020-02-26 – Utility classes that make your life easier

Join the chat on YouTube. Utility classes that make your life easier Implementing a persistence layer with Hibernate can require a lot of String references: You’re referencing entities and their attributes by their name. Query hints have very long names that you need to provide as a String. When registering an entity graph, you need…

Coffee with Thorben 2020-02-12 – JPQL vs Criteria vs Native Queries

Coffee with Thorben 2020-02-12 – JPQL vs Criteria vs Native Queries

Join the chat on YouTube. JPQL vs. Criteria vs. Native Queries With JPQL and native SQL queries, Hibernate supports 2 query languages that you can use to search data in your database. In addition to that, there is also JPA’s Criteria API that replaced Hibernate’s proprietary Criteria API. It might seem like there are 3…