<type> tag

Description

The type tag defines the type of database that your application is using.  Reactor supports:
 

Microsoft SQL Server – Reactor is known to support Microsoft SQL 2000 and 2005 servers.  The Express edition of SQL Server 2005 is untested, but should work too.

 

MySQL 4.x – Reactor supports MySQL 4.  One consideration to keep in mind is that views are not supported in MySQL 4.

 

MySQL 5.x – Reactor supports MySQL 5 completely.

 

DB2 - Reactor has been shown to work with DB2 express edition.

 

Oracle - Reactor works Oracle 9i and 10g.  Reactor does not support Oracle 8i, though this may be added in the future.  

 

Oracle RDB - There is also an adaptor for working with Oracle RDB, though this is not supported nor officially tested.

 

PostgreSQL 8 - Reactor works with Postgres 8.  It is untested with earlier versions.

Attributes

Attribute

Required

Description

value

Yes

The type of database being connected to.  Options are:

  • mssql - for Microsoft SQL Server

  • mysql4 - for MySQL 4

  • mysql - for MySQL 5 and later

  • db2 - for IBM DB2

  • oracle - for Oracle 9i and later

  • oraclerdb - for Oracle RDB (unsupported)

  • postgres - for PostgreSQL

Child Tags

None

Example

<reactor>
 <config>
   <project value="Scratch" />
   <dsn value="scratch" />
   <type value="mssql" />
   <mapping value="/reactorData" />
   <mode value="always" />
 </config>
</reactor>