Skip to content

Instantly share code, notes, and snippets.

@maeste
Created October 20, 2009 13:47
Show Gist options
  • Save maeste/214267 to your computer and use it in GitHub Desktop.
Save maeste/214267 to your computer and use it in GitHub Desktop.
DefaultConnectionSet dcs=null;
try
{
dcs=DefaultConnectionSet.getInstance();
ReaScriptRule reaScriptRule = new ReaScriptRule(dcs);
return reaScriptRule.leggiDatiUltimaCamerale(IDLince, reaScriptRule.leggiElencoNumeriRea(IDLince));
}
catch(Exception e)
{
Logger.getLogger(getClass()).error(this,e);
throw new CustomException(e.getMessage());
}
finally
{
try {DefaultConnectionSet.releaseInstance(dcs);}
catch(Exception e) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment