quering an external oracle db in rails application

Posted by railscoder on Stack Overflow See other posts from Stack Overflow or by railscoder
Published on 2010-02-02T18:16:42Z Indexed on 2010/04/16 6:03 UTC
Read the original article Hit count: 296

Filed under:
|
|

I have a website which useses a mysql database for its whole operation . But for a new requirement i need to query a external oracle database( used by other component) and compile a list of items and display in a page in the website. How is it possible to connect to a external database just for rendering a single page.

And is it possible to cache the queried result for say 1 month before invalidating the cache and get the updated list of items. i dont want query the external oracle db for each request.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about Oracle