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
Summary of Contents for Sun GlassFish Enterprise Server 2.1
Page 12: ...12 ...
Page 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Page 14: ...14 ...
Page 18: ...18 ...
Page 38: ...38 ...
Page 62: ...62 ...
Page 96: ...96 ...
Page 126: ...126 ...
Page 160: ...160 ...
Page 214: ...214 ...
Page 218: ...218 ...
Page 230: ...230 ...