Blog: vlad mihalcea


212 blogs updated: 4 min. ago
The best way to map an Enum Type with JPA and Hibernate
Introduction Recently, I got a very good question on Twitter, and I decided that the best way to answer it is with a new article. In this ar...
18
19-09-2017 10:48:16 vlad mihalcea Advanced
The best way to fix the Hibernate "HHH000104: firstResult/maxResults specified with collection fetch; applying in memory!" warning message
Introduction If you've been using Hibernate long enough, then you surely must have seen this WARN log message when doing pagination while jo...
13
13-09-2017 12:13:32 vlad mihalcea Advanced
Why you should definitely learn SQL Window Functions
Introduction I found this question on the Hibernate forum, and it's a very good opportunity to show why mastering Windows Functions is a ver...
27
05-09-2017 09:02:30 vlad mihalcea Advanced
How to map a composite identifier using an automatically @GeneratedValue with JPA and Hibernate
Introduction One of my readers asked me to answer the following StackOverflow question. While I already covered the best way to map composit...
4
04-09-2017 15:45:34 vlad mihalcea Advanced
The best way to map a projection query to a DTO (Data Transfer Object) with JPA and Hibernate
Introduction While answering questions on the Hibernate forum, I stumbled on the following question. What was different than previous questi...
31
29-08-2017 09:57:53 vlad mihalcea Advanced
How to get the entity mapping to database table binding metadata from Hibernate
Introduction Lukas Eder has posted a very interesting question on Stack Overflow, asking about a way of getting access to the binding metada...
22
24-08-2017 09:37:47 vlad mihalcea Advanced
The best way to implement an audit log using Hibernate Envers
Introduction As previously explained, CDC (Change Data Capture) is an essential step to extract change events from an OLTP application to ma...
8
22-08-2017 11:02:08 vlad mihalcea Advanced
How to map a @ManyToOne association using a non-Primary Key column with JPA and Hibernate
Introduction While answering questions on the Hibernate forum, I stumbled on the following question about using the @ManyToOne annotation wh...
16
15-08-2017 10:27:29 vlad mihalcea Advanced
How to store schema-less EAV (Entity-Attribute-Value) data using JSON and Hibernate
Introduction One of my Twitter followers has recently asked me about a way of storing EAV (Entity-Attribute-Value) data using JPA and Hibern...
18
08-08-2017 10:00:58 vlad mihalcea Advanced
How to optimize the merge operation using update while batching with JPA and Hibernate
Introduction One of my readers has recently asked me about optimizing the merge entity state transition, and, because this is a great questi...
9
02-08-2017 11:24:48 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.