Armel Soro's blog

Armel Soro's blog

Thoughts, stories and ideas.

A09C 8072 0FF6 2823 466B DA6E ECDF 6F94 927F 2D25

BlogPortfolioContact
Status Dashboard
jpa, datanucleus, enhancement, hibernate, eclipselink, gradle, weaving

DataNucleus JPA Enhancement with Gradle

A notable behavior of JPA providers is to enhance JPA classes, by modifying their bytecode to add few capabilities. DataNucleus (DN) currently provides a Maven Plugin for calling its Enhancer. This article walks through calling DN Enhancer in a Gradle build script in a very efficient way.
Armel Soro
Armel Soro
5 min read
Oct 29 2018
junit, tests, postgresql, h2, hsqldb, java, spring

Running Java Integration Tests against a PostgreSQL Embedded database

Today, I'm going to walk you through running integration tests on the JVM against a real production-like PostgreSQL database. All without losing in terms of overall testing time or performance (especially when you have a database with hundreds of tables). In-memory databases (e.g., H2 [http://www.h2database.com/html/main.html], HSQLDB [http://hsqldb.org/], SQLite [https://www.sqlite.org/inmemorydb.html], ...) are very often used as drop-in replacements when running integration tests. This is ge
Armel Soro
Armel Soro
8 min read
Sep 28 2018
vi, vim

Saving a read-only file edited with Vi/Vim

How to save a read-only file edited with Vi or Vim without losing your changes
Armel Soro
Armel Soro
2 min read
Aug 15 2018
Previous
Page 4 of 4
© 2018 - 2022 — Published with Ghost  and Gatsby
BlogPortfolioContactStatus Dashboard