Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  Buy Now
  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)

Andrey Fedotov
2005-06-17 00:00:00.0

I have a question regarding using HxttConnectionPoolDataSource. My url to the database is "jdbc:dbf:/c:/dbffiles". By unfortunaly there's no HxttConnectionPoolDataSource constructor with passing url as an input parameter.
I have to use java.util.Properties as an input parameter to the HxttConnectionPoolDataSource constructor - but I didn't find any documentation where the format of Properties file for HxttConnectionPoolDataSource is described...
I'd be very grateful if you write me the format of this properties...

Now I'm trying
Properties DbfProp = new Properties();
DbfProp.setProperty("c:/dbffiles"); // or DbfProp.setProperty("jdbc:dbf:/c:/dbffiles");

com.hxtt.sql.HxttConnectionPoolDataSource dbfcpds = new com.hxtt.sql.HxttConnectionPoolDataSource(DbfProp);

But every time I get such exception: urlPrefix can't be null!

Thank you very much for supporting!
HXTT Support
2005-06-18 00:00:00.0
The simplest code is:

com.hxtt.sql.HxttConnectionPoolDataSource dbfcpds = new com.hxtt.sql.HxttConnectionPoolDataSource();
... con=dbfcpds.getConnection();//Or getPooledConnection()

Search Key   Search by Last 50 Questions


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