Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT ACCESS
invalid column name
Guillaume Mille
2009-08-20 09:19:32.0
Hello,
I had this exception :
Exception in thread "main" java.sql.SQLException: Can't find column: N��Lot in table Lot
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.df.a(Unknown Source)
at com.hxtt.sql.bn.a(Unknown Source)
at com.hxtt.sql.bn.a(Unknown Source)
at com.hxtt.sql.ag.a(Unknown Source)
at com.hxtt.sql.ag.a(Unknown Source)
at com.hxtt.sql.ag.a(Unknown Source)
at com.hxtt.sql.ag.executeUpdate(Unknown Source)
at com.vecteurplus.synergies.diffusion.core.TestHxtt.main(TestHxtt.java:20)

when trying to make an insert into an access 97 table. (the column "N��Lot" exists in the table Lot) .
I think it's a problem with the column name containing a "��" character.

My version of the drivers :
Specification-Version: 3.2.082 on August 20, 2009
Comment: JDBC 4.0 Package for Microsoft Access

To reproduce the error:
1) prepare a database access 97 with one table (call it "Lot" ) with one field (call it "N��Lot", the data type doesn't matter I think)
2) try to run an insert statement like this one : "insert into Lot([N��Lot])values (4);"
and you should get the exception

Note that the problem doesn't occur if I use an access 2003 database with the same characteristics.
Re:invalid column name
HXTT Support
2009-08-20 09:24:30.0
>Note that the problem doesn't occur if I use an access 2003 database
> with the same characteristics.
Yeah. For MS Access 95/97 format, you need charSet=aCorrectJavaCharaSet connection property:)
Re:Re:invalid column name
Guillaume Mille
2009-08-21 00:54:19.0
It's ok when I set yhe property charSet to "ISO-8859-1".
Thank you for you quick response.

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap