Valentin Zickner's Posts

Using Java 8 Dates with Spring JPA and PostgreSQL for Custom Queries

October 5, 2018

Storing dates in databases was traditionally done with java.sql.Date and java.sql.Timestamp. Since we would like to write modern applications, with Java 8 or 11, it is preferable to use an OffsetDateTime or a LocalDateTime. Spring Data JPA, for example, is mapping those fields automatically to the correct database field. There are still some challenges in combination with PostgreSQL.

Read more

DDD eXchange 2017

June 5, 2017

Last year I went to several conferences, one about JavaScript and at least two about Java. Unfortunately, the last conference was rather boring since at every Java conference they are talking about the same cool Java 8 and Java 9 stuff, for example project Jig-Saw or Lambda expressions. After listening to several “Java User Group” talks and attending one Java conference there will not be a lot of new content in another three-day conference. In my opinion this is sad and I decided this year to go to more specialised conferences.

Read more
Older posts