I got a strange case. In the given database, I got a record that has a VARCHAR field, so in my entity model I added this field, plus getters and setters. Now is the
You should look at the Java Scripting API. There are a couple of projects which implement this API to allow you to add the ability to run scripts your Java code.