-
Recent Posts
Twitter
Tweets by elcionakashimaArchives
Categories
Meta
Monthly Archives: April 2010
EJABBERD: registering new account using an admin connection
Symptom: Using ejabberd 2.1.x built from source code from Git repository. I’m connecting to an ejabberd server using Smack XMPP client library. I am able to create new accounts on the XMPP server when the connection is not logged, just … Continue reading
GRAILS: Transaction injection doesn’t work if you declare your methods as closures
Symptoms: Using Grails 1.2.2. I created a Service and declared some methods like this: def signUp = { arg1, arg2 -> //method body } This is a valid way to declare a method, where you simply assign a closure to … Continue reading
GORM: default behaviour is not to throw Exception when save() fails
Symptoms: I was using Grails 1.1.1 and could not understand why my application was not throwing an Exception when I was inserting a record that clearly was violating some constraints (like unique indexes). I checked to see if the record … Continue reading