diff options
| author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
|---|---|---|
| committer | <> | 2015-03-17 16:26:24 +0000 |
| commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
| tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /examples/sql/adf/EX_ADF/.adf | |
| parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
| download | berkeleydb-master.tar.gz | |
Diffstat (limited to 'examples/sql/adf/EX_ADF/.adf')
| -rw-r--r-- | examples/sql/adf/EX_ADF/.adf/META-INF/adf-config.xml | 20 | ||||
| -rw-r--r-- | examples/sql/adf/EX_ADF/.adf/META-INF/connections.xml | 21 |
2 files changed, 41 insertions, 0 deletions
diff --git a/examples/sql/adf/EX_ADF/.adf/META-INF/adf-config.xml b/examples/sql/adf/EX_ADF/.adf/META-INF/adf-config.xml new file mode 100644 index 00000000..809182b2 --- /dev/null +++ b/examples/sql/adf/EX_ADF/.adf/META-INF/adf-config.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="GBK" ?> +<adf-config xmlns="http://xmlns.oracle.com/adf/config" xmlns:config="http://xmlns.oracle.com/bc4j/configuration" + xmlns:adf="http://xmlns.oracle.com/adf/config/properties" + xmlns:sec="http://xmlns.oracle.com/adf/security/config"> + <adf-adfm-config xmlns="http://xmlns.oracle.com/adfm/config"> + <defaults changeEventPolicy="ppr" useBindVarsForViewCriteriaLiterals="true"/> + <startup> + <amconfig-overrides> + <config:Database jbo.locking.mode="optimistic"/> + </amconfig-overrides> + </startup> + </adf-adfm-config> + <adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties"> + <adf-property name="adfAppUID" value="EX_ADF-1027"/> + </adf:adf-properties-child> + <sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config"> + <CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore" + credentialStoreLocation="../../src/META-INF/jps-config.xml"/> + </sec:adf-security-child> +</adf-config> diff --git a/examples/sql/adf/EX_ADF/.adf/META-INF/connections.xml b/examples/sql/adf/EX_ADF/.adf/META-INF/connections.xml new file mode 100644 index 00000000..8469d4f5 --- /dev/null +++ b/examples/sql/adf/EX_ADF/.adf/META-INF/connections.xml @@ -0,0 +1,21 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<References xmlns="http://xmlns.oracle.com/adf/jndi"> + <Reference name="BDBConnection" className="oracle.jdeveloper.db.adapter.DatabaseProvider" credentialStoreKey="BDBConnection" xmlns=""> + <Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/> + <RefAddresses> + <StringRefAddr addrType="subtype"> + <Contents>thirdParty</Contents> + </StringRefAddr> + <StringRefAddr addrType="user"> + <Contents>myLogin</Contents> + </StringRefAddr> + <SecureRefAddr addrType="password"/> + <StringRefAddr addrType="driver"> + <Contents>SQLite.JDBCDriver</Contents> + </StringRefAddr> + <StringRefAddr addrType="customUrl"> + <Contents>jdbc:sqlite:/absolute_path_to_db</Contents> + </StringRefAddr> + </RefAddresses> + </Reference> +</References> |
