Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.253
  HXTT Cobol 5.0.252
  HXTT DBF 7.1.253
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel 6.1.256
  HXTT Json 1.0.224
  HXTT Paradox 7.1.252
  HXTT PDF 2.0.252
  HXTT Text(CSV) 7.1.252
  HXTT Word 1.1.252
  HXTT XML 4.0.253
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 DBF
NetBeans IDE and FoxPro 2.6
Denis
2012-05-02 11:52:25
Hello,

I am attempting to create a NetBeans platform application and use entity classes to connect and interact with my FoxPro tables (done in FoxPro 2.6)

I am working through this tutorial: http://platform.netbeans.org/tutorials/nbm-crud.html except instead of Derby I am using HXTT. I keep running into errors, so I am beginning to question whether I am doing something wrong, or it may not be possible to use entity classes and HXTT driver in NetBeans IDE to control the tables?

Thanks.
Re:NetBeans IDE and FoxPro 2.6
Denis
2012-05-02 13:03:25
Update:

When I follow the tutorial and attempt to run it, the beginning of the error looks roughly like this:

Exception [EclipseLink-4003] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
Exception Description: Configuration error. Class [com.hxtt.sql.dbf.DBFDriver] not found.
at org.eclipse.persistence.exceptions.DatabaseException.configurationErrorClassNotFound(DatabaseException.java:82)
Re:Re:NetBeans IDE and FoxPro 2.6
HXTT Support
2012-05-02 17:25:10
>Exception Description: Configuration error. Class [com.hxtt.sql.dbf.DBFDriver] not found.
You need to add DBF_JDBC40.jar into your project. You can do this by right clicking on the libraries and choosing "Add Jar/Folder". If you're using hibernate, you can download a hibernat support package
Re:Re:Re:NetBeans IDE and FoxPro 2.6
Denis
2012-05-03 12:14:40
Unfortunately I have done so and the error remains the same.

Originally, when I would add a derbyclient.jar I would put org.apache.derby for the code name base.

What would I put for xhtt? So far I've been putting com.hxtt.sql.dbf.DBFDriver but I am not sure if that is correct or if that affects anything.
Re:Re:Re:Re:NetBeans IDE and FoxPro 2.6
HXTT Support
2012-05-03 17:31:17
You need to add it to your module's library. When you add something to the module's library you are adding it to the classpath. To add a jar file to the library you'll need to right click on the module and choose Properties from the context menu. Then choose the Libraries node and then the Wrapped JARs tab. Then click the Add JAR button and navigate to the driver's jar.

What's your NetBeans version?

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