|
Spring Framework example source code file (PETS.xml)
The Spring Framework PETS.xml source code
<?xml version="1.0" encoding="UTF-8"?>
<table>
<short-name>PETS
<last-refresh-timestamp>2006-07-23T20:56:16.116
<columns>
<column>
<name>BIRTH_DATE
<type>DATE
<allows-null>true
</column>
<column>
<name>ID
<type>INTEGER
<unique>true
<primary-key>true
</column>
<column>
<name>NAME
<type>VARCHAR
<size>30
<allows-null>true
</column>
<column>
<name>OWNER_ID
<type>INTEGER
</column>
<column>
<name>TYPE_ID
<type>INTEGER
</column>
</columns>
<references>
<table-association>
<name>FK_PETS_OWNERS
<target-table-handle>
<table-name>OWNERS
</target-table-handle>
<on-database>true
<column-pairs>
<column-pair>
<source-column-handle>
<column-table-name>PETS
<column-name>OWNER_ID
</source-column-handle>
<target-column-handle>
<column-table-name>OWNERS
<column-name>ID
</target-column-handle>
</column-pair>
</column-pairs>
</table-association>
<table-association>
<name>FK_PETS_TYPES
<target-table-handle>
<table-name>TYPES
</target-table-handle>
<on-database>true
<column-pairs>
<column-pair>
<source-column-handle>
<column-table-name>PETS
<column-name>TYPE_ID
</source-column-handle>
<target-column-handle>
<column-table-name>TYPES
<column-name>ID
</target-column-handle>
</column-pair>
</column-pairs>
</table-association>
</references>
</table>
Other Spring Framework examples (source code examples)Here is a short list of links related to this Spring Framework PETS.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.