Contents Index close method countUploadRows method pdf/preface.pdf

UltraLite User's Guide
  Developing UltraLite Java Applications
    UltraLite API reference
      Class JdbcDatabase

connect method

Prototype 

Connection connect( )

Connection connect( String user, String password )

Connection connect( String user, String password, Properties info )

Description 

Connects to an UltraLite database. The user name and password are checked only when user authentication has been enabled with JdbcSupport.enableUserAuthentication.

Parameters 

user    A user name that can connect to the database.

password    A string that must be entered as a password when connecting.

info    A Properties object holding the user name and password.

Returns 

A JDBC Connection object.

Throws 

java.sql.SQLException


Contents Index close method countUploadRows method pdf/preface.pdf