Difference between revisions of "DBOperations"

From GreenVulcano Wiki
Jump to: navigation, search
Line 11: Line 11:
 
'''DataSourceConnection'''
 
'''DataSourceConnection'''
  
Use this element if you want to retrieve a DataSource connection. 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. It has three parameters:
  
 
* ''type'': db-connection;
 
* ''type'': db-connection;

Revision as of 16:34, 30 January 2012

The element DBOperations configures an interaction with a database.

It has four subelements:


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:

  • type: db-connection;
  • class: it.greenvulcano.gvesb.j2ee.db.connections.DataSourceConnection;
  • jndi-name: this attribute defines the DataSource JNDI name;


and two subelements:


JDBCDataBaseConnection

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

  • type: db-connection;
  • class: it.greenvulcano.gvesb.j2ee.db.connections.JDBCDataBaseConnection;
  • connectionName: this attribute defines the name of the connection to be used, must be one of the connections configured on the file GVAdapters.xml