var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Concurrent access to db2 table
I had a jsp that connects to a DB2 using jdbc connection.
It is something like:
> <%@ page isThreadSafe="false" %>
> Connection conn = null;
> Statement stmt = null;
> ResultSet rs = null;
> conn = DriverManager.getConnection(URL, id, pwd);
> stmt = conn.createStatement ();
> rs = stmt.executeQuery(strSQLStmt);
> } catch (Exception ee)
When there are many concurrent accesses, sometimes A will see the
result set of B.
I believe it is due to incorrect way of handling concurrent accesses
to database. Anyone advice about how to cope with it? Thanks.
Concurrent access to db table
sorry it should be the default value,
> <%@ page isThreadSafe="true" %>