While learning Liquibase to use it in managing the database’s evolution at work, I’ve found an existing bug (it is CORE-3040 – onlyUpdate=”true” flag generates empty statements for MySQL DB) and I fixed it: now I’m waiting for the Pull Request to be accepted!

(altro…)

Annunci

I’ve recently discovered an interesting java project, Lombok, that gives your IDE the ability to automatically create trivial methods (setters and getters, hashCode, equals, toString, and basic constructors) and other stuff.
All you need to do is watch the 3-minutes video at Project Lombok web site, download the little jar, click 2 buttons to install it, and then start annotating with Lombok.
(altro…)

These are my thoughts after having read the first two articles about Design Patterns and Java 8 on Voxxed, because I need to reflect about the shadows of the new approach. (altro…)

This article describes how I managed command line parameters in a standalone Java application powered by Spring 4.
Tested with Spring 4.x, JOptSimple 4.8. (altro…)

A little article to show (and remind myself) how I modified Eclipse’s preferences about Javadoc comments.

2016-01-22-105048.png

(altro…)

I’m playing with technologies and framework for a new project: because I’m learning things probably useful for others, I’m gonna write here few notes about what I’ve learned. This is the sixth article of a series: we need a way to access the MyBatis session (to flush the statement cache) in mappers/DAOs. (altro…)

I’m playing with technologies and framework for a new project: because I’m learning things probably useful for others, I’m gonna write here few notes about what I’ve learned. This is the fifth article of a series: the @Transactional annotation will be used. (altro…)