| <?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"> |
| |
| <!ENTITY user SYSTEM "repository_user.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; |
| |
| </descriptor-repository> |