The table below shows the types of data resource that are supported by the current release of OGSA-DAI. Also see the list of tested data resources below.
| Data Resource | Version | Homepage |
|---|---|---|
| Relational | ||
| MySQL | 3.2.3 or above | http://www.mysql.com/downloads/ |
| IBM DB2 * | - | http://www-306.ibm.com/software/data/db2/ |
| NOTE: that DB2 does not support the creation or deletion of databases under OGSA-DAI. | ||
| Microsoft SQL Server | - | http://www.microsoft.com/sql/ |
| NOTE: that we do not currently support the SQL Server IMAGE column type in OGSA-DAI. | ||
| Oracle * | 8/9i | http://www.oracle.com/database/index.html |
|
NOTE: that Oracle does not support the creation or deletion of
databases under OGSA-DAI. NOTE: that the Oracle 9i JDBC driver does not conform to the JDBC standard for insertion of BLOBs and thus OGSA-DAI does not currently support the addition of BLOBs to tables in Oracle 9 databases. We expect to address this issue in a future release. |
||
| PostgreSQL | - | http://www.postgresql.org/ |
| XML | ||
| Apache Xindice | 1.0 | http://xml.apache.org/xindice/ |
| Files | ||
| File system | - | - |
| Binary XML (BinX) files | - | - |
* At present OGSA-DAI cannot be used to create new databases within DB2 or Oracle database management systems.
When exposing a relational or XML data resource using OGSA-DAI, it is necessary to provide a database driver. The table below provides details of the recommended database drivers for each supported relational and XML data resource type.
| Data Resource | Driver Name | JARs | Class Name |
|---|---|---|---|
| Relational | |||
| MySQL | MySQL Connector J/2 | mysql-connector-java-3.1.8-bin.jar | org.gjt.mm.mysql.Driver |
| DB2 | DB2 JDBC Driver | db2jcc.jar db2jcc_licence_cu.jar |
com.ibm.db2.jcc.DB2Driver |
| SQL Server | Microsoft SQL Server JDBC Driver | mssqlserver.jar msbase.jar msutil.jar |
com.microsoft.jdbc.sqlserver.SQLServerDriver |
| Oracle | Oracle JDBC Drivers for Java 1.2+ | classes.zip renamed to classes.jar | oracle.jdbc.driver.OracleDriver |
| PostgreSQL | Postgres JDBC Driver | pg73jdbc3.jar | org.postgresql.Driver |
| XML | |||
| Xindice | Xindice XMLDB Drivers | xml-xupdate.jar openorb-1.2.0.jar |
org.apache.xindice.client.xmldb.DatabaseImpl |
When exposing a data resource using OGSA-DAI, it is necessary to specify the URI for the data resource. The table below shows example URIs for each of the supported data resource types.
| Data Resource | Example URI |
|---|---|
| Relational | |
| MySQL | jdbc:mysql://localhost:3306/ogsadai |
| IBM DB2 | jdbc:db2://localhost:50000/ogsadai |
| Microsoft SQL Server | jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=ogsadai |
| Oracle | jdbc:oracle:thin:@localhost:1521:ogsadai |
| PostgreSQL | jdbc:postgresql://localhost:5342/ogsadai |
| XML | |
| Apache Xindice 1.0 | xmldb:xindice://localhost:4080/db/littleblackbook |
| Files | |
| Unix File System | /home/public/myDataResourceFiles |
| Windows File System | C:\Public\MyDataResourceFiles |
The table below details other data resources that have been tested with OGSA-DAI, but are not officially supported by the current release of OGSA-DAI.
| Data Resource | Version | Homepage | JARs | Class Name | |
|---|---|---|---|---|---|
| Notes | |||||
| Relational | |||||
| Apache Derby | - | http://incubator.apache.org/derby/ | derby.jar | org.apache.derby.jdbc.EmbeddedDriver | |
| Derby does not support the creation or deletion of databases under OGSA-DAI. Support is planned when Derby emerges from the incubator phase of the Apache process | |||||
| HSQL | 1.7.1 | http://hsqldb.sourceforge.net | hsqldb.jar | org.hsqldb.jdbcDriver | |
| Light testing only. We have NOT tested OGSA-DAI using the current HQSL 1.7.2 release. | |||||
| XML | |||||
| eXist | 1.0 beta2 | http://exist.sourceforge.net/ | exist.jar xmlrpc-1.2-patched.jar |
org.exist.xmldb.DatabaseImpl | |
| Light testing only. | |||||
| Back: Interacting With Data Resources | Up: OGSA-DAI User Guide | Next: User Guide Conventions |
| © International Business Machines Corporation, 2004. | © The University of Edinburgh, 2004. |