Blog: vlad mihalcea


214 blogs updated: 74 min. ago
How to map Java and SQL arrays with JPA and Hibernate
Introduction hibernate custom Types allow you to map all sorts of database specific column types, like IP address, JSON columns, Bit sets or...
29
21-06-2017 13:40:26 vlad mihalcea Advanced
The best way to map the @DiscriminatorColumn with JPA and Hibernate
Introduction As previously explained, the SINGLE_TABLE inheritance is the most efficient entity inheritance strategy. However, for JPQL quer...
21
13-06-2017 09:30:48 vlad mihalcea Advanced
The best way to use entity inheritance with JPA and Hibernate
Introduction Recently, my friend Lukas Eder wrote the following message on Twitter: Just like in any OOP (Object-Oriented Programming) langu...
51
06-06-2017 09:09:14 vlad mihalcea Advanced
The best way to map the SINGLE_TABLE inheritance with JPA and Hibernate
Introduction Java, like any other object-oriented programming language, makes heavy use of inheritance and polymorphism. Inheritance allows ...
25
30-05-2017 09:13:27 vlad mihalcea Advanced
How to fix "wrong column type encountered" schema-validation errors with JPA and Hibernate
Introduction Mapping entities to database tables is usually a very straightforward process. However, if your mappings are rather unusual, yo...
7
23-05-2017 12:29:00 vlad mihalcea Advanced
The fastest way to update a table row when using Hibernate and Oracle
Introduction Oracle provides several pseudocolumns, and ROWID is one of them. The ROWID pseudocolumn specifies the address of the underlying...
22
22-05-2017 14:44:30 vlad mihalcea Advanced
Why you should always use hibernate.connection.provider_disables_autocommit for resource-local JPA transactions
Introduction One of my major goals for Hibernate is to make sure we offer all sorts of performance improvements to reduce transaction respon...
24
17-05-2017 09:46:41 vlad mihalcea Advanced
The best way to use the @ManyToMany annotation with JPA and Hibernate
Introduction As simple as JPA annotations might be, it's not always obvious how efficient they are behind the scenes. In this article, I'm g...
31
10-05-2017 12:20:07 vlad mihalcea Advanced
How to install DB2 Express-C on Docker and set up the JDBC connection properties
Introduction While developing Hibernate, I need to test the code base against a plethora of relational database systems: Oracle, SQL Server,...
9
08-05-2017 09:28:03 vlad mihalcea Advanced
How to get access to database table metadata with Hibernate 5
Introduction One of my readers has recently asked me to answer this StackOverflow question, and because the question is very interesting, I ...
22
02-05-2017 10:09:58 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.