Working with CSV or TSV files, we often ought to ignore the header row (aka. the column headers) before reading the rest of the file. To strip out the first…
Category: Groovy
Groovy is an object-oriented programming language for the Java platform.
Working with the Grails Database Migration Plugin
In this post, I want to share with you some experience you might find useful for your projects when working with the Grails Database Migration plugin. Brief information of the…
How to create a temporary file to store data
Your application has to write data out in a temporary file to reprocess them before rendering to users. The file will be created temporarily and swept our when the application…
An annoyed error needed to be paid more attention when using RestBuilder grails plugin
In the previous post about consuming web services in Grails using RestBuilder grails plugin, I explained how to set up a call to the remote service provider. However, I have…
The Groovy Spaceship Operator Explained
Have you ever heard of the spaceship operator? If it is the case, how does it look like? To be honest, I have known it recently when I used this…
Using System properties in Grails
Retrieving a few of system variables is inevitable in developing computer applications within any environment. In this post, we would show you system variables existing once the application is loaded…
Unveil magic of hibernate lazy loading
[dropcap]R[/dropcap]ecently we have discussed about the performance of retrieving collections/relations/associations inside objects. By the way, we also review the machinery that hibernate handles these relational concepts to improve the effectiveness…