|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--examples.jdbc.mssqlserver4.login
This simple example shows the alternatives for making a JDBC connection to a MSSQLServer instance.
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> set CLASSPATH=%WL_HOME%/server/lib/mssqlserver4v65.jar;%CLASSPATH%
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.
| Constructor Summary | |
login()
|
|
| Method Summary | |
static void |
main(java.lang.String[] argv)
|
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public login()
| Method Detail |
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 | |||||