1

I googled a lot to find any one has accessed timesten from ruby. I need to access timesten from Ruby (v1.9.3).

Can anyone please help me out?

Thanks

zahidal
  • 111
  • 1
  • 8
  • The only thing I found was people accessing it via jRuby: https://forums.oracle.com/forums/thread.jspa?threadID=584414 – ScottJShea Mar 28 '12 at 14:36

1 Answers1

0

The best way to access Oracle TimesTen via Ruby is via the ODPI-C ruby-ODPI SQL driver.

ODPI-C is a c wrapper to OCI and the same Ruby code can be used on TimesTen and the Oracle RDBMS.

You should use tnsnames.ora to define a service name that maps to a TimesTen DSN.

You should use the connection pattern as defined in the Oracle sample code.

  • I'd try ruby-oci8 instead of ruby-odpi, since the former is being regularly updated. be warned: I don't know what limitations it will have against TimesTen. – Christopher Jones Nov 20 '19 at 02:02