Servertec   getConnection( )
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
Response
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Side
Preprocessor
Executable
Samples
Sales
Legal
Feedback

 

Returns a connection object to the given database URL.

Syntax

    getConnection( url )
    url.getConnection( )
    getConnection( url , properties )
    url.getConnection( properties )
    getConnection( url , user , password )
    url.getConnection( user , password )

Parameters

    url the url of the database to use.
    properties the properties object containing any necessary information.
    user the user's id.
    password the user's password.

Returns

    connection the new connection object to the database.

Example

    con = getConnection( database )
    
 top of page
 Built with iScript Copyright © 1997-1999 Servertec. All rights reserved.
Last Modified: Tue Jan 26 22:19:03 EST 1999