|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jcr.xdb.JDBCConnectionCredentials
public class JDBCConnectionCredentials
JDBCConnectionCredentials allows creation of a JCR session based on the user identity of an existing JDBC connection.
The JCR session created from the JDBC connection will use that JDBC connection to access the XML DB repository.
Constructor Summary | |
---|---|
JDBCConnectionCredentials(java.sql.Connection connection) Constructs a JDBCConnectionCredentials. |
Method Summary | |
---|---|
java.sql.Connection |
getConnection() Returns the JDBC connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBCConnectionCredentials(java.sql.Connection connection) throws RepositoryException
connection
- the connection; required; must not have been closed; must not auto-commitRepositoryException
- if the operation failsMethod Detail |
---|
public java.sql.Connection getConnection()
|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |