The JCR session created from the JDBC connection will use that JDBC connection to access the XML DB repository.
public class JDBCConnectionCredentials extends java.lang.Object implements Credentials
| Constructor and Description |
|---|
JDBCConnectionCredentials(java.sql.Connection connection)
Deprecated.
Constructs a JDBCConnectionCredentials.
|
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
getConnection()
Deprecated.
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