Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.131
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol 5.0.131
  HXTT DBF 7.1.132
  HXTT Excel 6.1.135
  HXTT Json 1.0.103
  HXTT Paradox 7.1.131
  HXTT PDF 2.0.131
  HXTT Text(CSV) 7.1.131
  HXTT Word 1.1.131
  HXTT XML 4.0.132
Offshore Outsourcing
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
   
   
   
Heng Xing Tian Tai Lab of Xi'an 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
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap