L'article est aussi vieux que Java 8, mais je pense que l'auteur tient un truc ... qui mériterait d'être porté dans l'univers magique du code généré (pour une performance optimale). Si j'avais l'influx intellectuel, je tenterai bien un truc ... https://benjiweber.co.uk/blog/2013/12/28/typesafe-database-interaction-with-java-8/ #java #database #mapping #performance #automatisation #proxy #générateur #code
Typesafe database interaction with Java 8 - Benji's Blog

Method references in Java 8 will allow us to build much nicer APIs for interacting with databases. For example when you combine method references with features we already had in Java it’s possible to create clean, typesafe queries without needing code generation. Full examples and implementation available on github. Here’s an example of what’s possible... Read more »

Benji's Blog