Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.131
  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
 
  Buy Now
  Support
  Download
  Document
  FAQ
  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 Text(CSV)
query count different?
John Rodriguez
2007-01-10 06:30:49.0
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.0
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.0
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.0
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 | Sitemap