Menu

OysterSourceDescriptor from a different database

2014-04-14
2014-04-14
  • Juan Gordon

    Juan Gordon - 2014-04-14

    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

     
  • Eric Nelson

    Eric Nelson - 2014-04-14

    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.

     
  • Juan Gordon

    Juan Gordon - 2014-04-14

    Thanks Eric! Now i am able to connect to another database ( Vertica ).

     

Log in to post a comment.

MongoDB Logo MongoDB