All Examples  This Package

Class examples.jdbc.mssqlserver4.login

java.lang.Object
   |
   +----examples.jdbc.mssqlserver4.login

public class login
extends Object
This simple example shows the alternatives for making a JDBC connection to a MSSQLServer instance.

To set up this example:

  1. Set up your development shell as described in Package examples.jdbc.mssqlserver4.

  2. Change connection parameters to correspond to your Microsoft SQL Server configuration. If you need more help, check the section on connecting to a database in the Developers Guide, Using jdbcKona/MSSQLServer4.

  3. Compile this example by executing the following command in your development shell:

    $ javac -d c:/weblogic/mssqlserver4/classes login.java

  4. Run this example by executing the following command in your development shell:

    $ java examples.jdbc.mssqlserver4.login


Constructor Index

 o login()

Method Index

 o main(String[])

Constructors

 o login
 public login()

Methods

 o main
 public static void main(String argv[]) throws Exception

All Examples  This Package