Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  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
  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 ACCESS
Parse error on select statement
Deen Sokoya
2005-08-14 00:00:00
java.sql.SQLException: Failed to parse: Stopped parse at 447970942E9
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.a.b.a(Unknown Source)
at com.hxtt.a.b.a(Unknown Source)
at com.hxtt.a.b.f(Unknown Source)
at com.hxtt.sql.b0.a(Unknown Source)
at com.hxtt.sql.b0.(Unknown Source)
at com.hxtt.sql.y.do(Unknown Source)
at com.hxtt.sql.y.if(Unknown Source)
at com.hxtt.sql.y.executeQuery(Unknown Source)
at Retail.executeBusinessRules(Retail.java:142)

Got the above error on this statement.

res = stmt.executeQuery(
"Select TransactionID, 'PAYMENT' as type from Checks " +
"where GlobalBatchID=" + GlobalBatchID + " order by CheckSequence " +
"union " +
"Select TransactionID, 'CORRESPONDENCE PFS' as type from Documents " +
"where GlobalBatchID=" + GlobalBatchID + " " +
"and TransactionID not in " +
"(Select TransactionID from Checks " +
"where GlobalBatchID=" + GlobalBatchID + ")");


This actually work using native sun JDBC driver. Thanks for any help you can provide.
Re:Parse error on select statement
HXTT Support
2005-08-17 00:00:00
That's resulted by 447970942E9 value. You can try:
stmt=con.prepareStatement(
"Select TransactionID, 'PAYMENT' as type from Checks " +
"where GlobalBatchID=? order by CheckSequence " +
"union " +
"Select TransactionID, 'CORRESPONDENCE PFS' as type from Documents " +
"where GlobalBatchID=? " +
"and TransactionID not in " +
"(Select TransactionID from Checks " +
"where GlobalBatchID=?)");
stmt.setInt(1,GlobalBatchID);
stmt.setInt(2,GlobalBatchID);
stmt.setInt(3,GlobalBatchID);
res = stmt.executeQuery();

We will provide a latest package which supports your 447970942E9 value too in 48 hours. Thanks for your patience.
Re:Re:Parse error on select statement
HXTT Support
2005-08-18 00:00:00
Please download the latest package which has supported 447970942E9 value.
Re:Re:Re:Parse error on select statement
Deen Sokoya
2005-08-18 00:00:00
All but only three of packages are corrupted. Please repost packages.
Re:Re:Re:Re:Parse error on select statement
HXTT Support
2005-08-18 00:00:00
We have reposted all packages.Please download the latest HXTT packages.
NullPointerException error on select statement
Deen Sokoya
2005-09-10 00:00:00
Select TransactionID, 'PAYMENT' as type from Checks where GlobalBatchID=524848319
UNION
Select TransactionID, 'CORRESPONDENCE PFS' as type from Documents where (GlobalBatchID=524848319
and
TransactionID not in (Select TransactionID from Checks where GlobalBatchID=524848319))

Above sql statement works in jdbc but not in our driver. I get the following error. With hxtt driver, the individual query work fine, but errored when "UNION" is used with the statement.

java.sql.SQLException: java.lang.NullPointerException
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.a4.a(Unknown Source)
at com.hxtt.sql.x.a(Unknown Source)
at com.hxtt.sql.x.if(Unknown Source)
at com.hxtt.sql.x.executeQuery(Unknown Source)
at BankRetail.executeBusinessRules(BankRetail.java:156)

Thanks
Re:Re:Re:Re:Re:Parse error on select statement
Deen Sokoya
2005-09-10 00:00:00
Select TransactionID, 'PAYMENT' as type from Checks where GlobalBatchID=524848319
UNION
Select TransactionID, 'CORRESPONDENCE PFS' as type from Documents where (GlobalBatchID=524848319
and
TransactionID not in (Select TransactionID from Checks where GlobalBatchID=524848319))

I'm getting a different error for this statement.

java.sql.SQLException: java.lang.NullPointerException
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.a4.a(Unknown Source)
at com.hxtt.sql.x.a(Unknown Source)
at com.hxtt.sql.x.if(Unknown Source)
at com.hxtt.sql.x.executeQuery(Unknown Source)
at Retail.executeBusinessRules(Retail.java:156)

The individual query work by themself until paired together with UNION.
Re:Re:Re:Re:Re:Re:Re:Parse error on select statement
HXTT Supports
2005-09-11 00:00:00
>The individual query work by themself until paired together with UNION.
Supported subquery in UNION. Please download the latest package. Thanks for your response.

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