db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Schneider <bschnei...@vecna.com>
Subject Re: NullPointerException ond doSelect
Date Tue, 01 Apr 2003 19:18:01 GMT
check Torque.properties.  Your default database doesn't have a URL, username
or password associated with it.

-- Bill

> ----- Torque.properties ----
>
> torque.database.default = default
> torque.database.default.adapter=postgresql
>
> ## Using Jdbc2Pool
> torque.dsfactory.default.factory=org.apache.torque.dsfactory.Jdbc2PoolDa
> taSourceFactory
> torque.dsfactory.default.pool.defaultMaxActive=10
> torque.dsfactory.default.pool.testOnBorrow=true
> torque.dsfactory.default.pool.validationQuery=SELECT 1
> torque.dsfactory.default.connection.driver = org.postgresql.Driver
> torque.dsfactory.bookstore.connection.url =
> jdbc:postgresql://mcgonagle.cwindustries.net:5432/RANSBURGBSA_DEV
> torque.dsfactory.bookstore.connection.user = casc
> torque.dsfactory.bookstore.connection.password = password
>
> --- schema.xml ---




Mime
View raw message