Difference between revisions of "DBOperations"
Line 13: | Line 13: | ||
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. It has three parameters: | ||
− | * type: db-connection; | + | * ''type'': db-connection; |
− | * class: it.greenvulcano.gvesb.j2ee.db.connections.DataSourceConnection; | + | * ''class'': it.greenvulcano.gvesb.j2ee.db.connections.DataSourceConnection; |
− | * jndi-name: this attribute defines the DataSource JNDI name; | + | * ''jndi-name'': this attribute defines the DataSource JNDI name; |
Line 28: | Line 28: | ||
Use this element for retrieving a JDBC connection. It has three parameters: | Use this element for retrieving a JDBC connection. It has three parameters: | ||
− | * type: db-connection; | + | * ''type'': db-connection; |
− | * class: it.greenvulcano.gvesb.j2ee.db.connections.JDBCDataBaseConnection; | + | * ''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'' | + | * ''connectionName'': this attribute defines the name of the connection to be used, must be one of the connections configured on the file ''GVAdapters.xml'' |
Revision as of 14:11, 26 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. 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:
- Description;
- JNDIHelper.
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