DatabaseMetaData.getVersionColumns BUFFER_LENGTH column

Lance Andersen lance.andersen at oracle.com
Tue Oct 2 21:42:36 UTC 2018


This has been documented this way going back to the early JDBC days and we went through a review of this method back in 2005.  I would implement if at all possible


> On Sep 29, 2018, at 5:34 AM, Mark Rotteveel <mark at lawinegevaar.nl> wrote:
> 
> I'm currently implementing DatabaseMetaData.getVersionColumns for Jaybird, and I noticed that this defines the BUFFER_LENGTH column as "length of column value in bytes", while all other metadata methods that include BUFFER_LENGTH specify "is not used".
> 
> Is BUFFER_LENGTH really intended to be implemented for getVersionColumns, or is just leaving it null good enough? And if so, should the API documentation be amended?
> 
> Mark
> -- 
> Mark Rotteveel

 <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>





More information about the jdbc-spec-discuss mailing list