Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT ACCESS
ResultSetMetaData does not return proper scale/decimal digits
Lohmar ASHAR
2010-03-25 07:54:45.0
Hi I'm trying to build the table definition(the create table sql command) for tables from an MS Access db,
I'm getting the java.sql.Connection
con = DriverManager.getConnection(....);
and tried
resultSet = con.getMetaData().getColumns(...);
and also
stmt = con.createStatement();
stmt.execute("SELECT * FROM [" + tableName + "] where 1<>1;");
resultSet = stmt.getResultSet();
ResultSetMetaData meta = resultSet.getMetaData();
...

but in both cases when I try to get the "scale"/decimal_digits ... it's not returning the proper values

does your driver provide this, and I didn't use it properly ?
i use Access_JDBC30.jar and the db is made with MS Access 2003, my OS is Windows 7.
Can you tell me how can I find the scale properly ?
Re:ResultSetMetaData does not return proper scale/decimal digits
HXTT Support
2010-03-29 02:15:40.0
Supported. Please downloasd the latest package.

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap