All Examples  This Package

Class examples.jdbc.mssqlserver4.LargeTableTests

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

public class LargeTableTests
extends Object
This example creates a large table, retrieves its contents, and then deletes the table.

The application demonstrates how to:

The test creates a stored procedure, so you must use an account that has the required privileges.

To set up this example:

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

  2. Change the database URL, login, and password 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 WebLogic jDriver for Microsoft SQL Server.

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

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

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

    $ java examples.jdbc.mssqlserver4.LargeTableTests


Constructor Index

 o LargeTableTests()

Method Index

 o main(String[])

Constructors

 o LargeTableTests
 public LargeTableTests()

Methods

 o main
 public static void main(String args[])

All Examples  This Package