ResultSetMetaData.isNullable(i) not working?
ResultSetMetaData.isNullable(i) not working?
От:
Guido Fiala <guido.fiala@dka-gmbh.de>
Дата:
Hi all, has someone else tried to use ResultSetMetaData.isNullable(i) to determine if a column is nullable? It seems that the driver always returns columnNullableUnknown - independently if the datasource is a table or view and independ on actual settings. I can see that it is almost impossible to determine that for columns of views - or does someone know the trick? But at least for tables it should work... Guido
Re: ResultSetMetaData.isNullable(i) not working?
От:
Kris Jurka <books@ejurka.com>
Дата:
On Thu, 19 Feb 2004, Guido Fiala wrote: > Hi all, > > has someone else tried to use ResultSetMetaData.isNullable(i) to determine > if a column is nullable? > This has only been implemented in the cvs version of the driver and only works on 7.4+ servers. Try one of the snapshots available here: http://www.ejurka.com/pgsql/jars Kris Jurka