Topic: JdbcDataContextStrategy question

Go back to forum.

Topic by
asbjorn

2009-08-19
16:08

JdbcDataContextStrategy question

I the method getSchemaNames() a null object is inserted into the empty list if no values are available. Why is a list with a null object better than an empty list??

Reply by
kasper

2009-08-19
21:59

Because according to the JDBC spec null means "any table type" whereas an empty array means "no table types".

You need to be logged in to participate

In order to post your own comments on this topic, you need to be logged in.

Username:

Log in by clicking the login link at the top of the screen

 

Go back to forum.

Username:

Password:

Requested username:

Password:

Real name:

Email address:

Title:

Company:

Country: