|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--examples.jdbc.mssqlserver4.LargeTableTests
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.
Note: You may need sa privileges in SQL Server to run this example. When you specify a user and password, make sure the user has sa privileges in the database.
If you need more help, check the section on connecting to a database in the programming guide, Using WebLogic jDriver for Microsoft SQL Server.
prompt> ant
Note: This script builds all of the examples in the mssqlserver4 directory.
prompt> ant run
Note: This script runs all of the examples in the mssqlserver4 directory.
| Field Summary | |
(package private) static java.lang.String |
driverName
|
(package private) static int |
kNumberOfRows
|
| Constructor Summary | |
LargeTableTests()
|
|
| Method Summary | |
(package private) static void |
dumpResults(java.sql.Statement statement)
Drain result sets and update counts. |
static void |
main(java.lang.String[] argv)
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
static java.lang.String driverName
static int kNumberOfRows
| Constructor Detail |
public LargeTableTests()
| Method Detail |
static void dumpResults(java.sql.Statement statement)
throws java.sql.SQLException
statement, - the Statement object, which has already been executed.java.sql.SQLException - public static void main(java.lang.String[] argv)
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||