title: Postgres pl/java caveats
body: <p>I would very much prefer writing DB side code in Java but would like to know if doing so has any disadvantages compared to pl/pgsql (especially performance &amp; error handling related).</p>