summaryrefslogtreecommitdiff
path: root/examples/sql/adf/EX_ADF/.adf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/adf/EX_ADF/.adf')
-rw-r--r--examples/sql/adf/EX_ADF/.adf/META-INF/adf-config.xml20
-rw-r--r--examples/sql/adf/EX_ADF/.adf/META-INF/connections.xml21
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>