No inserts using Hibernate and Spring

I was setting up a simple side-project with Spring, Spring Data and Hibernate. My repositories are generated using Spring Data's jpa:repositories to save on development time and the database schema is generated using Hibernate, based on my JPA and JSR-303 annotated entities. However, one of the issues I encountered was that my repositories did not insert anything in … Continue reading No inserts using Hibernate and Spring

Coins Monitor: a BitCoin and LiteCoin pool monitor Sidebar Gadget

I recently started mining BitCoins and LiteCoins and for that reason I started looking for a Windows Sidebar Gadget. I didn't realy find something that suited my needs so I wrote one myself. After configuring your pools, please be patient or click the refresh button and wait a few seconds. Your pool info should be … Continue reading Coins Monitor: a BitCoin and LiteCoin pool monitor Sidebar Gadget

Mass convert a project to UTF-8 using Notepad++

Lately, I had to convert the encoding of a multimodule maven project from our default Cp-1252 encoding to UTF-8. Changing the project settings is rather easy and there are multiple guides availble on the internet, so I won't re-invent the hot water. The most dificult task however was converting all our source files from Cp-1252 … Continue reading Mass convert a project to UTF-8 using Notepad++

Windows Backup 0x81000031 when using TrueCrypt

TrueCrypt can cause problems when your libraries are stored on a TrueCrypt encrypted partition. In my case, my System partition (C:) is fully encrypted and so is my Data partition (D:). My data partition is a System Favourite and is mounted during boot phase. However, when running Windows Backup I get the following cryptic error … Continue reading Windows Backup 0x81000031 when using TrueCrypt

Running unit tests with changing dependency versions

This is a little how-to guide which explains you how you can run a set of unit test on configurations with different versions of the same plugin. This can be very useful when creating your own library which depends heavily on an actively developed dependency of which many versions exists and are being used (eg. Spring, Hibernate, OpenJPA, … Continue reading Running unit tests with changing dependency versions