Sun GlassFish JDBC Driver for Microsoft SQL Server
Databases
The JAR files for this driver are
smbase.jar
,
smsqlserver.jar
, and
smutil.jar
. Configure the
connection pool using the following settings:
■
Name:
Use this name when you configure the JDBC resource later.
■
Resource Type:
Specify the appropriate value.
■
Database Vendor:
mssql
■
DataSource Classname:
com.sun.sql.jdbcx.sqlserver.SQLServerDataSource
■
Properties:
■
serverName
- Specify the host name or IP address and the port of the database server.
■
portNumber
- Specify the port number of the database server.
■
user
- Set as appropriate.
■
password
- Set as appropriate.
■
selectMethod
- Set to
cursor
.
■
URL:
jdbc:sun:sqlserver://
serverName
[:
portNumber
]
Sun GlassFish JDBC Driver for Sybase Databases
The JAR files for this driver are
smbase.jar
,
smsybase.jar
, and
smutil.jar
. Configure the
connection pool using the following settings:
■
Name:
Use this name when you configure the JDBC resource later.
■
Resource Type:
Specify the appropriate value.
■
Database Vendor:
Sybase
■
DataSource Classname:
com.sun.sql.jdbcx.sybase.SybaseDataSource
■
Properties:
■
serverName
- Specify the host name or IP address of the database server.
■
portNumber
- Specify the port number of the database server.
■
databaseName
- Set as appropriate. This is optional.
■
user
- Set as appropriate.
■
password
- Set as appropriate.
■
URL:
jdbc:sun:sybase://
serverName
[:
portNumber
]
Configurations for Specific JDBC Drivers
Chapter 3 • JDBC Resources
55
Содержание Sun GlassFish Enterprise Server 2.1
Страница 12: ...12 ...
Страница 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Страница 14: ...14 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 62: ...62 ...
Страница 96: ...96 ...
Страница 126: ...126 ...
Страница 160: ...160 ...
Страница 214: ...214 ...
Страница 218: ...218 ...
Страница 230: ...230 ...