Author: arminw
Date: Fri Aug 11 03:32:36 2006
New Revision: 430754
URL: http://svn.apache.org/viewvc?rev=430754&view=rev
Log:
add new test mapping
Added:
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_Repository_Renamed_DTD.xml
Added:
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_Repository_Renamed_DTD.xml
URL:
http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_Repository_Renamed_DTD.xml?rev=430754&view=auto
==============================================================================
---
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_Repository_Renamed_DTD.xml
(added)
+++
db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/Test_Repository_Renamed_DTD.xml
Fri Aug 11 03:32:36 2006
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+#/* Copyright 2003-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<!--
+This is a test repository used in junit test
org.apache.ojb.broker.metadata.MetadataTest
+Runtime reading of repository files.
+DO NOT CHANGE!
+-->
+<!DOCTYPE descriptor-repository SYSTEM "test_renamed_repository.dtd">
+
+
+<descriptor-repository version="1.0" isolation-level="read-uncommitted">
+
+ <!--
+ NOTE: This is a test descriptor used within
+ the junit test suite, DO NOT change any value.
+ -->
+
+ <!-- add some custom attributes -->
+ <attribute
+ attribute-name="attribute-repository-1"
+ attribute-value="attribute-repository-test-value-1">
+ </attribute>
+
+ <attribute
+ attribute-name="attribute-repository-2"
+ attribute-value="attribute-repository-test-value-2">
+ </attribute>
+
+ <jdbc-connection-descriptor
+ jcd-alias="runtime_2"
+ platform="Hsqldb"
+ jdbc-level="2.0"
+ driver="org.hsqldb.jdbcDriver"
+ protocol="jdbc"
+ subprotocol="hsqldb"
+ dbalias="../OJB_FarAway"
+ username="sa"
+ password=""
+ batch-mode="false"
+ >
+
+ <object-cache class="org.apache.ojb.broker.cache.ObjectCacheEmptyImpl">
+ <attribute attribute-name="attr_con" attribute-value="555"/>
+ </object-cache>
+
+ <connection-pool
+ maxActive="5"
+ whenExhaustedAction="0"
+ validationQuery="select count(*) from OJB_HL_SEQ"
+ />
+
+ <sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
+ <attribute attribute-name="grabSize" attribute-value="5"/>
+ </sequence-manager>
+
+ <!-- add some custom attributes -->
+ <attribute
+ attribute-name="attribute-connection-1"
+ attribute-value="attribute-connection-test-value-1">
+ </attribute>
+
+ <attribute
+ attribute-name="attribute-connection-2"
+ attribute-value="attribute-connection-test-value-2">
+ </attribute>
+
+ </jdbc-connection-descriptor>
+
+ <!-- test pc-class, this class is also declared in junit test metadata,
+ so be careful in handle this metadata -->
+ <class-descriptor
+ class="org.apache.ojb.broker.metadata.MetadataTest$CacheObject"
+ table="DO NOT USE"
+ >
+
+ <object-cache
class="org.apache.ojb.broker.cache.ObjectCacheDefaultImpl">
+ <attribute attribute-name="attr_class" attribute-value="444"/>
+ </object-cache>
+
+ <field-descriptor
+ name="objId"
+ column="OBJ_ID"
+ jdbc-type="INTEGER"
+ primarykey="true"
+ autoincrement="true"
+ />
+
+ <field-descriptor
+ name="name"
+ column="NAME"
+ jdbc-type="VARCHAR"
+ />
+ </class-descriptor>
+
+</descriptor-repository>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]