Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  Buy Now
  HXTT Cobol v3.0
  HXTT DBF v6.0
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.0
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 Beijing City (abbr, HXTT)

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


Copyright © 1999-2017 Heng Xing Tian Tai Lab of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap