So, we have been using pipelines-as-code in Jenkins for a while now and we generally are using scripted pipelines, Groovy scripts that run in Jenkins. Very flexible, but it is…
Used versions: GORM 6.1.9 Hibernate 5.1.5 Grails 3.3.10 This week I had to map an object on an existing database table with an existing primary key not named ‘id’ but…
Jenkins is a very neat tool to implement a continuous delivery process, mainly due to its flexibility. Sometimes it can be hard though to keep complexity low, and when that…
What if you want to develop Grails 2 projects with Eclipse Neon (4.6) as easy as you did with Groovy/Grails Tool Suite? Written and tested with Eclipse Neon and Grails…
What if you want to develop Grails 3 projects with Eclipse Mars (4.5) as easy as you did with Groovy/Grails Tool Suite or previous Eclipse versions? Written and tested with…
We know it’s all too common in Java to get a NullPointerException when we use an object reference which is null. This happens when our code tries to access a…
Grails 3 has been released with a ton of new features. If you’re used to adding a new Grails distribution in Eclipse or Groovy/Grails Tool Suite, you’ve might have experienced…
Caches are difficult to get right, and difficult to maintain. To get an insight into how well the Spring method caches we are using actually work, I added some logging….
A simple test Since I wanted to have some test coverage (legacy code alert!) for my project I started out testing one of the services, a grails artefact. All was…
Java 8 is featuring lambdas, which are similar to a construction Groovy has already for some time: closures. In Groovy we could already do this: def list = ['a', 'b',…