Blog: vlad mihalcea


219 blogs updated: 70 min. ago
How to query by entity type using JPA Criteria API
Introduction Inspired by this Hibernate forum post, I decided to write an article to explain how you can filter by the entity type using Cri...
6
07-08-2018 11:19:55 vlad mihalcea Advanced
A beginner's guide to database multitenancy
Introduction In software terminology, multitenancy is an architectural pattern which allows you to isolate customers even if they are using ...
4
31-07-2018 10:39:48 vlad mihalcea Advanced
How to query parent rows when all children must match the filtering criteria with SQL and Hibernate
Introduction The Hibernate forum is a never-ending source of inspiration when it comes to solving real-life problems you might bump into whe...
3
24-07-2018 15:13:43 vlad mihalcea Advanced
The best way to use SQL functions in JPQL or Criteria API queries with JPA and Hibernate
Introduction When executing an entity query (e.g. JPQL, HQL or Criteria API), you can use any SQL function without having to register it as ...
6
11-07-2018 12:35:23 vlad mihalcea Advanced
A beginner's guide to the Hibernate JPQL and Native Query Plan Cache
Introduction Every JPQL query must be compiled prior to being executed, and, because this process might be resource intensive, Hibernate pro...
6
04-07-2018 11:46:57 vlad mihalcea Advanced
A beginner's guide to Phantom Read anomaly
Introduction Database transactions are defined by the four properties known as ACID. The Isolation Level (I in ACID) allows you to trade off...
6
27-06-2018 10:04:22 vlad mihalcea Advanced
How do find and getReference EntityManager methods work when using JPA and Hibernate
Introduction While doing my High-Performance Java Persistence training, I realized that not all developers are familiar with the getReferenc...
4
20-06-2018 12:14:51 vlad mihalcea Advanced
A beginner's guide to Non-Repeatable Read anomaly
Introduction Database transactions are defined by the four properties known as ACID. The Isolation Level (I in ACID) allows you to trade off...
7
13-06-2018 10:06:27 vlad mihalcea Advanced
MariaDB 10.3 supports database sequences
Introduction Traditionally, both MySQL and MariaDB relied on AUTO_INCREMENT columns to generate an IDENTITY Primary Key. ALthough IDENTITY c...
8
06-06-2018 11:50:51 vlad mihalcea Advanced
How to improve statement caching efficiency with IN clause parameter padding
Introduction Recently, I stumbled on the following Twitter thread: This jOOQ feature is indeed really useful since it reduces the number of ...
3
30-05-2018 13:49:59 vlad mihalcea Advanced


© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.