<?xml version="1.0" encoding="UTF-8"?>
<!--
#/* Copyright 2002-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 sample metadata repository for the
     Apache ObJectRelationalBridge (OJB) System.
     Use this file as a template for building your own mappings.
-->

<!-- doctype definition
     By default we are using a local DTD that is expected to reside
     in the same directory as this repository.xml file.
     If you intend to validate your repository.xml against
     the public dtd at the Apache site, please replace the string
     "repository.dtd"
     by the public adress
     "http://db.apache.org/ojb/dtds/1.0/repository.dtd".
     In this case validation will only work if the machine you
     run your application on can connect to the internet!
-->

<!DOCTYPE descriptor-repository PUBLIC
       "-//Apache Software Foundation//DTD OJB Repository//EN"
       "repository.dtd"
[

<!ENTITY database SYSTEM "repository_database.xml">
<!ENTITY internal SYSTEM "repository_internal.xml">
<!-- here the junit include files begin  -->
<!ENTITY junit SYSTEM "repository_junit.xml">
<!ENTITY junit_odmg SYSTEM "repository_junit_odmg.xml">
<!ENTITY junit_otm SYSTEM "repository_junit_otm.xml">
<!ENTITY junit_ref SYSTEM "repository_junit_reference.xml">
<!ENTITY junit_meta_seq SYSTEM "repository_junit_meta_seq.xml">
<!ENTITY junit_cache SYSTEM "repository_junit_cache.xml">
<!ENTITY junit_model SYSTEM "repository_junit_model.xml">
<!ENTITY junit_cloneable SYSTEM "repository_junit_cloneable.xml">
<!ENTITY junit_inheritance SYSTEM "repository_junit_inheritance.xml">
<!ENTITY junit_pathClass SYSTEM "repository_junit_pathClass.xml">

<!ENTITY user SYSTEM "repository_user.xml">
<!ENTITY ejb SYSTEM "repository_ejb.xml">
]>


<descriptor-repository version="1.0" isolation-level="read-uncommitted"
        proxy-prefetching-limit="50">

    <!-- include all used database connections -->
    &database;

    <!-- include ojb internal mappings here -->
    &internal;

    <!-- include user defined mappings here -->
    &user;

    <!-- include mappings for JUnit tests -->
    <!-- This could be removed (with <!ENTITY entry),
         if junit test suite was not used
    -->
    &junit;
    &junit_odmg;
    &junit_otm;
    &junit_ref;
    &junit_meta_seq;
    &junit_cache;
    &junit_model;
    &junit_cloneable;
    &junit_inheritance;
    &junit_pathClass;

    <!-- include mappings for the EJB-examples -->
    <!-- &ejb; -->
</descriptor-repository>
