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
What is....this ErrorMessage
kim
2009-04-22 23:16:26.0
to taking mdbdata in the Vector from hxttDriver
printed underMessage

"java.sql.SQLException: An invalid Access database page 6279"

WhatMean?

Please answer.
add Mail
kim
2009-04-22 23:30:46.0
Source
------------
public Vector getOwnerMDBData(String year, String gubun, String district, String fileName, String month){
int writen = 0;
int total= 0;
int a=0;

if(month.equals("6") || month.equals("9")){
month = "WHERE BASE_MON = '2'";
}else{
month = "WHERE BASE_MON = '1'";
}
Vector dataList=new Vector();
String sql= "SELECT DISTINCT LAND_CD,BLDG_REGNO,DONG_GBN,BASE_MON,UMD_CD,ADMD_CD,"+
"RI_CD,USE_GBN,OWN_GBN,OWNER_NO,LAND_OWNER,OWNER_ADDR,ZIPCD "+
" FROM OWNER "+month;
//System.out.println("SQL ="+sql);

try{
System.out.println("MDB 파일에서 OWNER 자료를 가져오는 중......");
con = this.getHXTTConnection(gubun,district,fileName);
pstmt = con.prepareStatement(sql);
rs=pstmt.executeQuery();


while(rs.next()){
Hashtable data=new Hashtable();
for(int cnt=0; cnt< wcols.length; cnt++){
String key = this.wcols[cnt];
String value = rs.getString(key);
data.put(key, (value==null)?"":value );
}
dataList.addElement(data);
a++;
}
System.out.println("총 "+dataList.size()+"개의 OWNER 자료를 가져왔습니다");
}catch(Exception ex){
//****PRINT TO HERE ERROR MESSAGE****
System.out.println("ERROR");
ex.printStackTrace();
}finally{
try{
if(pstmt!=null)pstmt.close();
}catch(Exception e){}
this.conClose();
}
System.out.println(dataList.size());
return dataList;
}
Re:Re:What is....this ErrorMessage
HXTT Support
2009-04-23 04:28:12.0
>"java.sql.SQLException: An invalid Access database page 6279"
It means that HXTT Access found an error message in that mdb file. You can use MS Access to compact/repari that file once.
Re:Re:Re:What is....this ErrorMessage
kim
2009-04-23 06:32:46.0
Thank you !
add Question.

To this ErrorMessage "An invalid Access dataBase page 6279"

What is pointing "page 6279"
Re:Re:Re:Re:What is....this ErrorMessage
HXTT Support
2009-04-23 08:27:58.0
>What is pointing "page 6279"
It means that error is about at page 6279 of that mdb file, which is only a prompt message.

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