How to write data into DBF using Hitachi Pentaho(ETL TOOL),i can't find the right way.
There's a JDBC driver to read/write data to DBF files. Adding that driver to the Pentaho Data Integration installation, you could use the Table Output step with a Generic database Connection type/Dialect configured to use that driver.
Read Pentaho Data Integration documentation to learn the directory where you need to add the JDBC driver. Then you'll need to read the driver documentation to learn how to use it to manipulate DBF files, I haven't work with DBF, but to use the Generic database connection type to connect to SQLite databases (instead of the SQLite specific Connection type/Dialect) I configure the Custom connection URL with this value: jdbc:sqlite:/path_to_my_db/MyDBfile.sqlite and the Custom driver class name with the value org.sqlite.JDBC. I don't need user/password to connect with this database. DBF JDBC Driver will use something similar, I suppose.
Related
the documentation of WSO2 Data services server say you can read any database with a JDBC driver, and I found that there are some JDBC libraries for .DBF files.
DSS documentation: http://wso2.com/products/data-services-server/
JDBC for DBF files: http://www.csv-jdbc.com/stels_dbf_jdbc.htm
Someone has already done or did something similar?
I would appreciate your help
Yes, WSO2 DSS supports any RDBMS datasource type, provided a compatible driver is copied to the product. You can follow the below steps.
You can add the JDBC driver to the $DSS_HOME/repository/component/lib folder and start the server.
Create a dataservice by following the this doc
Add an RDBMS type datasource, as DBF is not listed in the pre-defined datasource types, select 'Generic' and give the driver class name, connection url, username and password according to the DBF specified
Add query and then an operation. Our official documentation has all the necessary steps.
Please note that, we have not tested with this driver, therefore, to use in a production environment, a comprehensive testing cycle will be needed (including load tests, long running tests .. etc).
I have a PostgreSql database and I need to connect it to read data from oracle view and store that data in custom table
The PostgreSql database will connect to oracle everyday automatically to read the latest updates from oracle view
How to create it?
It sounds like you probably want a SQL/MED foreign data wrapper. Check out oracle_fdw. You could also use the generic odbc_fdw or jdbc_fdw wrappers via Oracle's ODBC or JDBC drivers.
Another option is DBI-Link.
Combine these with a cron job if you want to copy to a local view.
I'm trying to set up a ColdFusion 8 data source using JDBC on a CLSE5 Linux server. I've downloaded the JDBC drivers from Oracle for both 10g and 11g and placed the JAR files in %CF_INSTALL_Folder%/runtime/lib. I verified that this folder is in the class path on the CF admin settings summary page. According to this Oracle JDBC wiki, the JDBC URL should be:
jdbc:oracle:thin:#[HOST][:PORT]:SID
If I want to use different drivers for different connections, How do I differentiate between them on the data source connection form?
You specify which JDBC driver to use by specifying the JAR's class name in the Driver Class field on the data source administration page. However, this requires that your two JAR files have unique class names.
I would assume that you could use the 11g drivers to connect to your 10g database without any problems unless you are needing to use something specifically deprecated with the 11g drivers. I would at least try that first and see if any issues crop up.
Here is a link to some documentation that describes the different fields on the data source administration page: Connecting to other data sources
Driver Class
The fully qualified class name of the driver. For example, com.inet.tds.TdsDriver. The JAR file that contains this class must be in a directory defined in the ColdFusion classpath.
I want to know if is there a way of change the driver used by Microsoft Access to extract data (only use select like querys) from Oracle 9i data base.
The Access to Oracle connection is made using an external data source (linked table) and usually the default Access driver is ODBC for ORACLE, but I want to change that and use a JDBC driver for ORACLE instead.
Thanks in advance.
The Access to Oracle connection is made using an external data source (linked table) and usually the default Access driver is ODBC for ORACLE, but I want to change that and use a JDBC driver for ORACLE instead.
I'm fairly certain that this is impossible. Access linked tables connect via Jet/ACE (for links to another Access database), or ODBC (for all other data sources). JDBC is not an option.
I want to know that mirth can connect with other database like(cache,sybase,informix).
I am getting no way to connect all above database using mirth
because In Mcsm(mirth connect server manager) there is only few database option like(postgres,durby,oracle,mysql).
so is there any alternate way to use url of (cache,informaix database) in mcsm.
please help me any help is highly apprecialble.
derby
postgres
mysql
oracle
Sql server2000
sql server
-These are the various different RDBMS system that Mirth can support at this moment in the latest version 2.2.2.6388
Having said that, it means that the mirthdb the database that mirth uses for its integration purpose can be configured/installed on any of the above RDBMS systems, most of the times its either postgre or mysql.
Other than this, there is no other means of connecting to informix (even though I would love to see that happen), that depends on Mirth corp.
If you have a JDBC driver (.jar file) for the other database(s), you could try these steps:
Add the .jar file to the $MIRTH_HOME/custom-lib directory
Add/Change a driver entry to the file $MIRTH_HOME/conf/dbdrivers.xml
I'm not sure if that will let you choose other databases in MCSM or only allows you to choose them in Mirth channels (Database Reader, Database Writer, etc), but it's worth a try. I am unable to test it right now.
See http://www.mirthcorp.com/community/wiki/display/mirth/Server+Configuration