The current edition of the Java magazine has an article about Big Data Best Practices for JDBC and JPA by Josh Juneau: http://www.javamagazine.mozaicreader.com/MayJune2016 The article shows how ...
https://www.javacodegeeks.com/2016/06/using-stored-procedures-jpa-jdbc-meh-just-use-jooq.html
A common myth in SQL is the idea that correlated subqueries are evil and slow. For example, this query here: SELECT first_name, last_name, (SELECT count(*) FROM film_actor fa WHERE fa.actor_id = ...
https://www.javacodegeeks.com/2016/05/correlated-subqueries-evil-slow.html
Java 8 introduced JSR-308, which added new annotation capabilities to the Java language. Most importantly: Type annotations. It is now possible to design monsters like the below: The only thing c...
https://www.javacodegeeks.com/2016/05/jsr-308-checker-framework-add-even-typesafety-jooq-3-9.html
Listicles like these do work – not only do they attract attention, if the content is also valuable (and in this case it is, trust me), the article format can be extremely entertaining. This art...
https://www.javacodegeeks.com/2016/04/10-sql-tricks-didnt-think-possible.html
A very interesting question was posted to Stack Overflow and reddit
just recently about Java generics. Consider the following method:
https://www.javacodegeeks.com/2016/04/parameterless-generic-method-antipattern.html
Welcome to the jOOQ Tuesdays series. In this series, we’ll publish an article on the third Tuesday every other month where we interview someone we find exciting in our industry from a jOOQ pers...
This article is overdue. After the hype around the release of Kotlin 1.0 has settled, let’s have a serious look at some Kotlin language features that we should have in Java as well. In this art...
https://www.javacodegeeks.com/2016/04/10-features-wish-java-steal-kotlin-language.html
An interesting question by Tagir Valeev on Stack Overflow has recently caught my attention. To keep things short (read the question for details), while the following code works: public static Str...
https://www.javacodegeeks.com/2016/03/watch-recursion-java-8s-primitivestream-iterate.html
This Stack Overflow question has yet again nerd-sniped me: maximum element in the array that would result from performing all M operations Here’s the question by John that was looking for a Ja...
https://www.javacodegeeks.com/2016/03/time-funky-sql-prefix-sum-calculation.html
JUnit is probably part of 90% of all Java projects. And the exciting thing is, we’ll soon have JUnit 5 with Java 8 support. We’ve blogged about an improvement recently. Back in JUnit 4 land, ...
https://www.javacodegeeks.com/2016/03/improve-junit-experience-annotation.html