G
GIMME
Psuedo code ...
Does sc.close() get executed ?
public static Employee get(int id ) throws Exception
{
try {
SomeConnection sc = new SomeConnection();
return new Employee();
}finally {
sc.close();
}
Does sc.close() get executed ?
public static Employee get(int id ) throws Exception
{
try {
SomeConnection sc = new SomeConnection();
return new Employee();
}finally {
sc.close();
}