Hi Jason,

In the future, please post questions like this to the hsqldb-users list or
the Help forum on the sourceforge site. This list is for issues relating to
the development of HSQLDB itself.

The answer to your question lies in the DatabaseMetaData interface.
Connection.getMetaData() gives you a metadata object. Use the
getColumns(...) method, step through the ResultSet that is returned and look
at the COLUMN_SIZE field among others.

Read about JDBC in general to be able to use HSQLDB effectively.

Fred Toussi

----- Original Message -----
From: "J. Todd Slack" <[EMAIL PROTECTED]>
To: "hsqldb-developers" <[EMAIL PROTECTED]>
Sent: 16 August 2002 15:39
Subject: RE: [Hsqldb-developers] MetaData example?



OK, after reading more about metadata, I am still not finding the answer I
need.

I am currently using getColumnLabel() and getColumnTypeName() to get the
following information:

LNS_Catalog varchar

I need to get the size also, like:

LNS_Catalog varchar 10

Does anyone know how I get get the size?

-Jason




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
hsqldb-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
hsqldb-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers

Reply via email to