|
|
@ -90,11 +90,7 @@ public class GadgetDataServiceDAOFactory {
|
|
|
|
"this particular thread. Therefore, calling 'beginTransaction/openConnection' while another " +
|
|
|
|
"this particular thread. Therefore, calling 'beginTransaction/openConnection' while another " +
|
|
|
|
"transaction is already active is a sign of improper transaction handling.");
|
|
|
|
"transaction is already active is a sign of improper transaction handling.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
try {
|
|
|
|
|
|
|
|
conn = dataSource.getConnection();
|
|
|
|
conn = dataSource.getConnection();
|
|
|
|
} catch (SQLException e) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
currentConnection.set(conn);
|
|
|
|
currentConnection.set(conn);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|