특정 데이터베이스 하부 구조에 대한 SQL 문을 실행하는 프로세스 응용프로그램을 구성해야 할 수 있습니다. 이러한 SQL 문은 정보 서비스 활동에서 생성될 수도 있고 프로세스 설치 또는 인스턴스 시작 시 실행되는 명령문이 될 수도 있습니다.
SQL 스니펫 활동을 실행하는 데 필요한 데이터 소스는 tDataSource 유형의 BPEL 변수에서 정의됩니다. SQL 스니펫 활동에 필요한 데이터베이스 스키마 및 테이블 이름은 tSetReference 유형의 BPEL 변수에서 정의됩니다. 이들 두 변수 모두의 초기값을 구성할 수 있습니다.
wsadmin 도구를 사용하여 데이터 소스를 지정할 수 있습니다.
데이터 소스 갱신 타스크에서는 프로세스 설치 또는 시작 시 사용한 명령문 및 초기 변수값에 대한 데이터 소스 값을 변경할 수 있습니다. 세트 참조 갱신 타스크에서는 데이터베이스 스키마 및 테이블 이름과 관련된 설정을 구성할 수 있습니다.
타스크[24]: 데이터 소스 갱신 //Change data source values for initial variable values at process start Process name: Test // Name of the process template Process start or installation time: Process start // Indicates whether the specified value is evaluated //at process startup or process installation Statement or variable: Variable // Indicates that a data source variable is to be changed Data source name: MyDataSource // Name of the variable JNDI name:[jdbc/sample]:jdbc/newName // Sets the JNDI name to jdbc/newName
타스크[25]: 세트 참조 갱신 // Change set reference values that are used as initial values for BPEL variables Process name: 테스트 // Name of the process template Variable: SetRef // The BPEL variable name JNDI name:[jdbc/sample]:jdbc/newName // Sets the JNDI name of the data source of the set reference to jdbc/newName Schema name: [IISAMPLE] // The name of the database schema 스키마 접두부: []: // The schema name prefix. // This setting applies only if the schema name is generated. Table name: [SETREFTAB]: NEWTABLE // Sets the name of the database table to NEWTABLE 테이블 접두부: []:// The table name prefix. // This setting applies only if the table name is generated.
ⓒ Copyright IBM Corporation 2005, 2006.
이 Information Center는 Eclipse 기술을 기반으로 합니다. (http://www.eclipse.org)