Difference between revisions of "DBOperations"

From GreenVulcano Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
==Description==
 +
 
The element DBOperations configures an interaction with a database.
 
The element DBOperations configures an interaction with a database.
  
It has four subelements:
+
=={{GVESB}} configuration==
  
* Description
+
DBOperations might contain the following sub-elements:
* DataSourceConnection or JdbcConnection
+
 
 +
* [[Description]]
 +
* [[#DataSourceConnection|DataSourceConnection]] or [[#JdbcConnection|JdbcConnection]]
 
* [[Statement]]
 
* [[Statement]]
 
* [[ResultSet]]
 
* [[ResultSet]]
  
  
'''DataSourceConnection'''
+
===DataSourceConnection===
 
 
Use this element if you want to retrieve a DataSource connection. This element represents the class of connection via Data Source for all those clients that use an application server. It has three parameters:
 
  
 +
Use this element if you want to retrieve a DataSource connection. This element represents the class of connection via Data Source for all those clients that use an application server. The following table shows its attributes:
  
 
{|class="gvtable"
 
{|class="gvtable"
Line 24: Line 27:
 
|}
 
|}
  
and the subelements:
+
Might contain the sub-elements:
  
* Description;
+
* [[Description]]
* [[JNDIHelper]].
+
* [[JNDIHelper]]
  
  
'''JDBCDataBaseConnection'''
+
===JDBCDataBaseConnection===
  
 
Use this element for retrieving  a JDBC connection. It has three parameters:
 
Use this element for retrieving  a JDBC connection. It has three parameters:

Revision as of 06:47, 30 March 2012

Description

The element DBOperations configures an interaction with a database.

GreenVulcano® ESB configuration

DBOperations might contain the following sub-elements:


DataSourceConnection

Use this element if you want to retrieve a DataSource connection. This element represents the class of connection via Data Source for all those clients that use an application server. The following table shows its attributes:

Attribute Type Description
type fixed This attribute must assume the value db-connection.
class fixed This attribute must assume the value it.greenvulcano.gvesb.j2ee.db.connections.DataSourceConnection
jndi-name required this attribute defines the DataSource JNDI name;

Might contain the sub-elements:


JDBCDataBaseConnection

Use this element for retrieving a JDBC connection. It has three parameters:

Attribute Type Description
type fixed This attribute must assume the value db-connection.
class fixed This attribute must assume the value it.greenvulcano.gvesb.j2ee.db.connections.JDBCDataBaseConnection
connectionName required this attribute defines the name of the connection to be used, must be one of the connections configured on the file GVAdapters.xml