会者不难,myeclipse的一个小问题
publicint[]executeBatch()throwsSQLException{booleanisAuto=conn.getAutoCommit();conn.s...
public int [] executeBatch() throws SQLException
{
boolean isAuto=conn.getAutoCommit();
conn.setAutoCommit(false);
int [] updateCounts = stmt.executeBatch();
}
这段没问题啊 问什么会说:
The value of the local variable isAuto is not used 展开
{
boolean isAuto=conn.getAutoCommit();
conn.setAutoCommit(false);
int [] updateCounts = stmt.executeBatch();
}
这段没问题啊 问什么会说:
The value of the local variable isAuto is not used 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询