The goal of this blog post is to go beyond the basic HelloWorld program, and see how we can leverage GraalVM against a sample real-world JPA-based application, able to interact with a database. We will walk through what can be done along with the potential limitations. Ghost [https://ghost.org/] is an awesome and user-friendly Open-Source platform
for blogging. But by default, it does not support syntax highlighting, which may
not be very practical if you happen to add code snippets to your posts.
Thankfully, Ghost is very easy to customize in different ways, and one way we
are going to explore here is via Code Injection
[https://blog.ghost.org/post-code-injection/], as in use throughout my own blog.
Ghost's Code Injection feature allows to add custom CSS stFollowing my previous article
[https://rm3l.org/datanucleus-jpa-enhancement-with-gradle/] on JPA enhancement
in general and particularly how to perform build-time enhancement / weaving
using DataNucleus [http://www.datanucleus.org/] and Gradle [https://gradle.org/]
Ant Tasks, a promise is a promise :). I am excited to announce
datanucleus-gradle-plugin [https://datanucleus-gradle-plugin.rm3l.org/], an
open-source plugin for Gradle-based projects. It aims at providing the same set
of capabilitiA 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.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
geHow to save a read-only file edited with Vi or Vim without losing your changes