Hi,
We purchased HXTT DBF some time back and it works fine for one of the tables we read from. We recently added another .DBF file to our program but we get an error message. The select we use is very simple: select * from tablename.
We get the following error:
java.sql.SQLException: Failed to load table emp! For more information, please use SQLException.getNextException().
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.dbf.i.long(Unknown Source)
at com.hxtt.sql.dbf.i.goto(Unknown Source)
at com.hxtt.sql.dbf.d.a(Unknown Source)
at com.hxtt.sql.dbf.d.(Unknown Source)
at com.hxtt.sql.dbf.u.a(Unknown Source)
at com.hxtt.sql.bm.if(Unknown Source)
at com.hxtt.sql.de.a(Unknown Source)
at com.hxtt.sql.de.a(Unknown Source)
at com.hxtt.sql.bm.a(Unknown Source)
at com.hxtt.sql.bm.a(Unknown Source)
at com.hxtt.sql.ag.a(Unknown Source)
at com.hxtt.sql.ag.a(Unknown Source)
at com.hxtt.sql.ag.executeQuery(Unknown Source)
at com.replacements.dbfreport.DbfReport.processReport(DbfReport.java:287)
at com.replacements.dbfreport.DbfReport.CreateReport(DbfReport.java:133)
at com.replacements.dbfreport.dbfMain.main(dbfMain.java:28)
Is there anything that can be done to fix this so we can access the table we need?
-Thanks, Eric
|
To see the detailed error message
catch (SQLException sqle) {
do {
System.out.println(sqle.getMessage());
System.out.println("Error Code:" + sqle.getErrorCode());
System.out.println("SQL State:" + sqle.getSQLState());
sqle.printStackTrace();
}
while ( (sqle = sqle.getNextException()) != null);
}
|