Github user hegdean commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/457#discussion_r61665152
  
    --- Diff: docs/jdbct4ref_guide/src/asciidoc/_chapters/accessing.adoc ---
    @@ -0,0 +1,910 @@
    +////
    +/**
    + *@@@ START COPYRIGHT @@@
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements. See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + * @@@ END COPYRIGHT @@@
    + */
    +////
    +
    +[[accessing-project-name-sql-databases]]
    += Accessing {project-name} SQL Databases
    +
    +[[data-sources]]
    +== Data Sources
    +
    +The term *data source* logically refers to a database or other data
    +storage entity. A JDBC (client) data source is physically a Java object 
that
    +contains properties such as the URL of the physical database, the
    +catalog to use when connecting to this database, and the schema to use
    +when connecting to this database. The JDBC data source also contains
    +methods for obtaining a JDBC connection to the underlying database.
    +
    +[[jdbc-data-source-client-side]]
    +=== JDBC Data Source (client-side)
    +
    +All JDBC data source classes implement either the `javax.sql.DataSource`
    +interface or the `javax.sql.ConnectionPoolDataSource` interface. The Type
    +4 driver data source classes are `org.trafodion.t4jdbc.HPT4DataSource` and
    +`org.trafodion.t4jdbc.HPT4ConnectionPoolDataSource`. (These classes are
    +defined by the JDBC 3.0 specification.)
    +
    +Typically, a user or system administrator uses a tool to create a data
    +source, and then registers the data source by using a JNDI service
    +provider. At run time, a user application typically retrieves the data
    +source through JNDI, and uses the data source's methods to establish a
    +connection to the underlying database.
    +
    +A DataSource object maps to an instance of a database. In the Type 4
    +driver product, the DataSource object acts as an interface between the
    +application code and the database and enables connection with an DCS
    +data source.
    +
    +[[security]]
    +== Security
    +
    +Clients connect to the {project-name} platform with a valid user name
    +and ID, using standard JDBC 3.0 APIs. An application can make multiple
    --- End diff --
    
    Change ID to password 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to