Category Archives: Java

Dynamic Configuration of Hibernate Envers

The project I’m working on wanted to have audit tables for many of the tables in the system. Instead of writing our own plugins and creating the tables we decided to use Hibernate Envers. Hibernate Envers is a really nice … Continue reading

Posted in Java, Programming | Tagged , , , , | Leave a comment

Groovy method overriding

One of the pieces of the project I am currently working on is using Grails and GORM for rapid deployment. In one of the GORM objects I wanted to override one of the methods that Groovy creates for a property … Continue reading

Posted in Groovy | Tagged , | Leave a comment

DB Technology Review (with pretty charts too!)

Recently I’ve been working on loading a set of data (51 gig) into a rather simple db for use with generating some data for later on down the application pipeline. Speed was very important as we only have a certain … Continue reading

Posted in Database, Java | Tagged , , | 2 Comments

Map usage optimization

You know the situation. You have a data structure that is a Map and the key is a simple object and the value is some complex object (lets say an ArrayList). You can’t just get() the ArrayList and start using … Continue reading

Posted in Java, Programming | Tagged , , | Leave a comment

PGP Encryption/Decryption in Java

A new version of the code (and a new post) has been posted at : Please note that if you are using Bouncy Castles libraries < 1.47 you should use the code in this post I have a requirement … Continue reading

Posted in Java, Programming | Tagged , , , | 66 Comments