CacheName (obsolete)
Description
Allows PowerBuilder to specify an EAServer connection cache by
name. This database parameter applies only when a PowerBuilder custom
class user object is deployed as an EAServer component.
Obsolete parameter
CacheName parameter is obsolete, because EAServer is no longer
supported since PowerBuilder 2017.
Applies to
JDB JDBC
ODBC
O90 Oracle9i
Syntax
|
1 |
CacheName='value' |
Default value
None
Usage
When you create a PowerBuilder custom class user object that uses
an EAServer connection cache, you must specify a user name, password,
server name, and connectivity library. However, if the “enable
cache-by-name access” option has been enabled on EAServer, you just need
to enter the connection cache name to specify the connection
cache.
This parameter cannot be set dynamically. The value set when the
connection is made remains in effect until it is disconnected.
Examples
On the EAServer page in the Database Profile Setup dialog box,
select the Access Cache By Name check box and enter the EAServer cache
name in the Cache Name box. The PowerScript syntax for the CacheName
DBParm parameter displays on the Preview page:
|
1 |
SQLCA.DBParm="CacheName='mydbcache'" |
Copy the syntax from the Preview page into your script.
See also
GetConnectionOption
(obsolete)