On 10/18/05, Sheeba <[EMAIL PROTECTED]> 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

Reply via email to