Potrebbe essere necessario configurare le applicazioni del processo che eseguono istruzioni SQL per l'infrastruttura specifica del database. Tali istruzioni SQL possono provenire da attività del servizio informazioni o possono essere istruzioni eseguite durante l'installazione del processo o l'avvio di un'istanza.
L'origine dati necessaria per l'esecuzione dell'attività di un frammento SQL viene definita in una variabile BPEL di tipo tDataSource. Lo schema del database e i nomi delle tabelle necessari per l'attività del frammento SQL vengono definiti in variabili BPEL di tipo tSetReference. È possibile configurare i valori iniziali di entrambe le variabili.
È possibile utilizzare lo strumento wsadmin per specificare le origini dati.
Nell'attività Aggiornamento delle origini dati è possibile modificare i valori dell'origine dati e le istruzioni utilizzate durante l'installazione del processo o in fase di avvio del processo. Nell'attività Aggiornamento riferimenti della serie è possibile configurare le impostazioni relative allo schema del database e ai nomi delle tabelle.
Task[24]: Updating data sources //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
Task[25]: Updating set references // Change set reference values that are used as initial values for BPEL variables Process name: Test // 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 Schema prefix: []: // 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 Table prefix: []: // The table name prefix. // This setting applies only if the prefix name is generated.
(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)