Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stellation-res] modifying stellation.properties to select database

Since several people are working on database ports right now, I think
it worth noting that database is specified in core file stellation.properties.
Here is relevant part from current version:

# relational datbase manager properties

firebird.version=1.0
firebird.jdbc.jar = /opt/interbase/interclient/interclient.jar

# uncomment following to use firebird
#rdbm.name = firebird
#rdbm.version = ${firebird.version}
#rdbm.jdbc.jar = ${firebird.jdbc.jar}

postgresql.version = 7.2.3
postgresql.jdbc.jar = /usr/share/pgsql/jdbc7.2dev-1.2.jar

# uncomment following to use postgresql
# current default is postgresql
rdbm.name = postgresql
rdbm.version = ${postgresql.version}
rdbm.jdbc.jar = ${postgresql.jdbc.jar}

So if you want to try firebird, you make appropriate changes, and
recompile. core test/build.xml uses the rdbm property from
this properties file (it used to assume postgres).

If you want to add new database, such as SQLServer, you add

sqlserver.version=...
sqlserver.jdbc.jar = path-to-jar-file-for-sqlserver

'version' doesn't really matter right now, except as documentation,
but is included in case we need to use it in the Ant build/test files.

dave

-- 
Dave Shields, IBM Research, shields@xxxxxxxxxxxxxx. 


Back to the top