Skip to content

Commit

Permalink
Emphasize setting connectionClass
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbj committed May 6, 2015
1 parent af97fdf commit 660dc86
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,15 +265,19 @@ String connectionClass
```

The Connection class value defines a logical name for connections.
Most single purpose applications should set `connectionClass` when
using a connection pool or DRCP.

When a pooled session has a connection class, Oracle ensures that the
session is not shared outside of that connection class.

The connection class value is similarly used by
[Database Resident Connection Pooling](#drcp) (DRCP) to allow or
disallow sharing of sessions.


For example, where two different kinds of users share one pool, you
might set ```connectionClass``` to 'HR' for connections that access a
might set `connectionClass` to 'HR' for connections that access a
Human Resources system, and it might be set to 'OE' for users of an
Order Entry system. Users will only be given sessions of the
appropriate class, allowing maximal reuse of resources in each case,
Expand Down

0 comments on commit 660dc86

Please sign in to comment.