Vaadin Tip: Lazy Loading and Item Identity

Development
en

When using grids, trees or any other of multi-valued component with Vaadin you often want to display data from a database table and typically you have more than a few rows in the[...]

Type Safe SQL in Java with jOOQ

Development
en

No matter if you are using frameworks like JPA, MyBatis or Spring Data JDBC you always end up declaring the SQL statements as a Java String.

Type Safe SQL in Java

Development
en

No matter if you are using frameworks like JPA, MyBatis or Spring Data JDBC you always end up declaring the SQL statements as a Java String. Strings, String, Strings No matter if[...]

Java Persistence Done Right

Development
en

When it comes to accessing relational databases with Java, people usually think of two options: SQL or ORM

Introduction to Database Migrations with Spring Boot and Flyway

Development
en

If you are working with Spring Boot there are several ways to initialize the database.

How to JOIN two Entities without Mapped Relationship

Development
en

Often you don’t want to map all relationships in an entity model (a blog post about this topic in detail will follow).

Inheritance in JPA

Development
en

Relational databases have tables and columns and object-oriented programming languages have classes and fields but they also provide inheritance. Relational databases have tables[...]

JPA Inheritance Strategies

Development
en

Relational databases have tables and columns and object-oriented programming languages have classes and fields but they also provide inheritance.

Should you use Enums with JPA?

Development
en

With JPA it’s possible to map Java enums to columns in a database table using the Enumerated annotation With JPA it’s possible to map Java enums to columns in a database table[...]

JPA Enums: Mapping Strategies and Trade-Offs

Development
en

With JPA it’s possible to map Java enums to columns in a database table using the Enumerated annotation.

Go to Top