db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <tom...@gmail.com>
Subject Re: problem reading data from ms sql server using ddlutils
Date Tue, 25 Oct 2005 22:49:12 GMT
On 10/18/05, Sheeba <sheeba@semanticresearch.com> wrote:

> I am trying to connect to sql server and read from the database using
> ddlutils.
>
> JdbcModelReader   reader     = new
> JdbcModelReader(basicDataSource.getConnection());
>
> Database database = reader.getDatabase();
>
> Reader.getDatabase() returns null.

Could you post information regarding the creation of the
basicDataSource object, especially the connection url and the driver
classname ?
Also, are you sure that the connection is open ?

Tom

Mime
View raw message