executeBatch 메서드 (SQLServerPreparedStatement)

JDBC 드라이버 다운로드

실행할 명령 일괄 처리를 데이터베이스로 전송합니다. 모든 명령이 성공적으로 실행되면 업데이트 횟수의 배열을 반환합니다.

구문

  
public int[] executeBatch()  

Return Value

업데이트 횟수가 들어 있는 정수 배열입니다.

예외

SQLServerException

java.sql.BatchUpdateException

설명

이 executeBatch 메서드는 java.sql.Statement 인터페이스의 executeBatch 메서드에 의해 지정됩니다.

이 메서드는 SQLServerStatement.executeBatch를 재정의합니다.

참고 항목

SQLServerPreparedStatement 멤버
SQLServerPreparedStatement 클래스