Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7538537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:08:45+00:00 2026-05-30T07:08:45+00:00

Newbie question here… I need to select an JDBC driver to connect an application

  • 0

Newbie question here… I need to select an JDBC driver to connect an application server Java program to an Oracle 11G database on another server. Both servers are Linux CentOS, and they are physically next to each other and connected via a cross connect ethernet cable. I’m not doing an Oracle RAC.

Oracle’s website lists the available options:

http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html

For reference, there’s a similar post here:

Which JDBC driver type should I use for accessing an Oracle Database?

My goal is more specific: which one to select among the following (JDK 1.6) drivers?

ojdbc6.jar (Classes for use with JDK 1.6. It contains the JDBC driver classes 
            except classes for NLS support in Oracle Object and Collection types)
ojdbc6_g.jar (Same as ojdbc6.jar except compiled with "javac -g" and contains
              tracing code)
ojdbc6dms.jar (Same as ojdbc6.jar, except that it contains instrumentation to 
               support DMS and limited java.util.logging calls)
ojdbc6dms_g.jar (Same as ojdbc6_g.jar except that it contains instrumentation to 
                 support DMS)

Q1: Are these all what Oracle calls “JDBC Thin” drivers (or are some OCI “thick” drivers)?

Q2: Are these all Type 4 drivers?

Q3: Are these all free (assuming I’ve purchased the Oracle 11G database license)?

Q4: Assuming time-to-compile is not an issue, wouldn’t all of the _g.tar files be preferred, especially since the -g compile option (e.g. useful for debugging) can be turned off (e.g. to increase speed for production compiled code)? Or, when I go to production, should I switch drivers to the non _g file (e.g. replace ojdbc_g.jar with ojdbc.jar)?

Q5: I’m not even sure what NLS, or Oracle Object and Collection types, or DMS refer to. Any advice on when the drivers to support these concepts would be useful would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T07:08:47+00:00Added an answer on May 30, 2026 at 7:08 am

    A1. Yes. JDBC Thin. The OCI versions are related to the Instant client and are platform specific.

    A2. Yes. Those are platform-independent, just plug-n-play hehe.

    A3. Yes. You can use them despite having no DB license. In fact, you agree to OTN license to download them 🙂

    A4. _g is useful at dev time. Otherwise, stay with the first one.

    A5. NLS refers to Internationalization support. Means that classes for NLS support on objects and collections are not there, but those are used only on very specific requirements about some kind of data going between client and DB. DMS refers to Dynamic Monitoring Metrics and those are also very specific (discouraged on common use of the driver)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Newbie question here: I'm using ANSI C on server to crunch numbers for a
I'm going to ask a newbie question here. I need to use a control
A newbie question. I have the following piece of Java code: import acm.program.*; import
Newbie question here! I'm building a simple application that allows users to create and
I am new in Java so it will be a newbie question, here it
Newbie question here ... I've created a Master-Detail Application project in Xcode 4.2 using
Another newbie question here, I have the following Select: SELECT DATEADD(dd, 0, DATEDIFF(dd, 0,
Newbie question here. I'm in the beginning stages of laying out a site in
Pardon the dumb newbie question here; web programming isn't my forte... (blush) I have
Here is one more newbie question: require 'tasks/rails' I saw this line in Rakefile

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.