I need to use as input a different database that is not in the default values (mysql, oracle,postgresql,sqlserver), what I do i have to do to achieve this? do i have to modify only the class OysterDatabaseReader and add a new condition to the method isConnected()?
Thanks a lot.
Juan Gordon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, you would need to change the isConnected Method. The default connection is ODBC so if you can use that then there is no need to change the code. If you do change the code to connect natively (that's what the oracle, sqlserver, mysql flags do) you will also have to get the JDBC Bridge jar file from that databases manufacture.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to use as input a different database that is not in the default values (mysql, oracle,postgresql,sqlserver), what I do i have to do to achieve this? do i have to modify only the class OysterDatabaseReader and add a new condition to the method isConnected()?
Thanks a lot.
Juan Gordon
Yes, you would need to change the isConnected Method. The default connection is ODBC so if you can use that then there is no need to change the code. If you do change the code to connect natively (that's what the oracle, sqlserver, mysql flags do) you will also have to get the JDBC Bridge jar file from that databases manufacture.
Thanks Eric! Now i am able to connect to another database ( Vertica ).