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!
The simplest code is:
com.hxtt.sql.HxttConnectionPoolDataSource dbfcpds = new com.hxtt.sql.HxttConnectionPoolDataSource();
... con=dbfcpds.getConnection();//Or getPooledConnection()