Forum Stats

  • 3,825,281 Users
  • 2,260,497 Discussions
  • 7,896,476 Comments

Discussions

Can anybody give an example how to connect to TimesTen using golang?

Can anybody give an example how to connect to TimesTen using golang?

I googled but only found a golang driver for oracle database using ODPI, I am trying to using this lib to connect to oracle database, it is ok. But for the timesten database, it always failed.

Anybody can help?

Answers

  • ChrisJenkins-Oracle
    ChrisJenkins-Oracle Member Posts: 3,409 Employee
    edited Jul 4, 2019 9:48AM

    We have made some fixes to ODPI in oder to support TimesTen and we will shortly be announcing support for Python and Node.js using the Oracle ODPI based drivers. In the future we also plan to support Go via ODPI as well. Keep an eye on our GitHub repository (https://github.com/oracle/oracle-timesten-samples) for the latest support.

    Having said that, the current ODPI based golang driver has been shown to work okay with TimesTen so maybe you have some configuration or environmental issue. Can you provide some details of your setup, environment, tnsnqmes.ora file contents etc.

    Thanks,

    Chris