Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

using a tns entry for a macromedia driver jdbc url

Guest
Feb 22, 2012 Feb 22, 2012

We are currently forced to use macromedia drivers on ColdFusion in order to connect to Oracle databases. The jdbc connection url is like:

jdbc:macromedia:oracle://server:port;sid=service

The flip side of this approach is that it forces us to 'hard code' the name of the database server as well as the port number and the service name.

Does anyone know how the jdbc url should be to make use of the TNSNames entry?

For OCI drivers, it is jdbc:oracle:oci:@tnsentry

Is it possible to do the same with macromedia drivers? what you be the correct url?

886
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 22, 2012 Feb 22, 2012

I don't know. I would recommend looking at the DataDirect Connect for JDBC documentation, which should be available on the DataDirect Technologies site. The drivers included with CF are a bundled version of DataDirect Connect for JDBC.

Dave Watts, CTO, Fig Leaf Software

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 24, 2012 Feb 24, 2012
LATEST

Hi Dave,

Thanks for your answer. I'll look into it ASAP.

Best,

Emmanuel

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources