Add JRuby switch to database config generation.
Fix database config indent.