Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Word v1.1
  HXTT XML v4.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 Xi'an City (abbr, HXTT)

HXTT Text(CSV)
query count different?
John Rodriguez
2007-01-10 06:30:49
The following code gives me 1000 records:

...
rs = stmt.executeQuery("SELECT * FROM applications");
int i = 0;
while(rs2.next()) {
i++;
}
System.out.println("count(applicants) = " + i);
...

but this code gives me the correct size (3767)

...
rs = stmt.executeQuery("SELECT count(*) as c FROM applications");
if(rs.next()) {
System.out.println("count(applicants) = " + rs.getInt("c"));
}
...

Why? I need to get all 3767 records!
Re:query count different?
HXTT Support
2007-01-10 06:48:49
The trial version queries return the first 1000 rows in the result set.
Re:Re:query count different?
John Rodriguez
2007-01-10 06:51:58
In your documentation (http://www.hxtt.com/text/introduction.html), it states 5000 records! Can I get a temporary license? My demo depends on full data coverage and could result it us purchasing this driver.

Re:Re:Re:query count different?
HXTT Support
2007-01-10 22:21:27
Please download the latest v3.1 package which hasn't 100 limitation.

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 | Refund | Sitemap