Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4314231

JNDI Documentation Omits JDBC DataSource Information

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.3.0
    • core-libs



      Name: krT82822 Date: 02/20/2000


      java version "1.3beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
      Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)

      The JDBC 2.0 DataSource documentation mentions use of JNDI to store DataSource
      objects. However, the JNDI documentation is silent about the jdbc naming
      context. What service providers actually support it? Can I bind a DataSource
      with just what is provided in the 1.3 SDK, or do I need something else? Will the
      file system service provider, downloaded from Sun, do this? I have searched the
      documentation and found no answers the these questions, event though JNDI is the
      recommended way to use obtain DataSource objects.

      I happen to have Oracle 8.1.6 which supports DataSource objects, but I have not
      been able to determine if even that product supports the jdbc initial context.

      -------------------

      1/24/2000 this doc notes the link between JNDI context and JDBC DataSource, though too briefly:

      http://java.sun.com/products/jdbc/articles/package2.html

      The javax.sql package is included in the J2EE (j2sdkee) reference implementation, but is not included in the Java2 Standard Edition.

      http://java.sun.com/products/jdk/1.3/docs/guide/jdbc/index.html
      (Review ID: 100296)
      ======================================================================

            rleesunw Rosanna Lee (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: