public class JDBCConnectionCredentials extends java.lang.Object implements Credentials
The JCR session created from the JDBC connection will use that JDBC connection to access the XML DB repository.
| Constructor and Description |
|---|
JDBCConnectionCredentials(java.sql.Connection connection)
Constructs a JDBCConnectionCredentials.
|
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
getConnection()
Returns the JDBC connection.
|
public JDBCConnectionCredentials(java.sql.Connection connection)
throws RepositoryException
connection - the connection; required; must not have been closed; must not auto-commitRepositoryException - if the operation fails