alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Spring Framework example source code file (org.springframework.samples.petclinic.Specialty.xml)

This example Spring Framework source code file (org.springframework.samples.petclinic.Specialty.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Spring Framework tags/keywords

utf-8, utf-8

The Spring Framework org.springframework.samples.petclinic.Specialty.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<descriptor type="relational">
   <name>org.springframework.samples.petclinic.Specialty
   <class-handle>
      <type-name>org.springframework.samples.petclinic.Specialty
   </class-handle>
   <transactional-policy type="relational">
      <descriptor-alias>Specialty
      <refresh-cache-policy/>
      <caching-policy/>
      <query-manager type="relational"/>
      <locking-policy type="relational"/>
      <primary-key-policy>
         <primary-key-handles>
            <column-handle>
               <column-table-name>SPECIALTIES
               <column-name>ID
            </column-handle>
         </primary-key-handles>
      </primary-key-policy>
   </transactional-policy>
   <mappings>
      <mapping type="direct-to-field">
         <name>id
         <inherited>true
         <attribute-handle>
            <attribute-declaring-type-name>org.springframework.samples.petclinic.BaseEntity
            <attribute-name>id
         </attribute-handle>
         <column-handle>
            <column-table-name>SPECIALTIES
            <column-name>ID
         </column-handle>
      </mapping>
      <mapping type="direct-to-field">
         <name>name
         <inherited>true
         <attribute-handle>
            <attribute-declaring-type-name>org.springframework.samples.petclinic.NamedEntity
            <attribute-name>name
         </attribute-handle>
         <column-handle>
            <column-table-name>SPECIALTIES
            <column-name>NAME
         </column-handle>
      </mapping>
   </mappings>
   <inherited-attribute-handles>
      <attribute-handle>
         <attribute-declaring-type-name>org.springframework.samples.petclinic.BaseEntity
         <attribute-name>id
      </attribute-handle>
      <attribute-handle>
         <attribute-declaring-type-name>org.springframework.samples.petclinic.NamedEntity
         <attribute-name>name
      </attribute-handle>
   </inherited-attribute-handles>
   <primary-table-handle>
      <table-name>SPECIALTIES
   </primary-table-handle>
   <uses-sequencing>true
   <sequence-number-name>SEQ
   <sequence-number-table-handle>
      <table-name>SPECIALTIES
   </sequence-number-table-handle>
   <sequence-number-column-handle>
      <column-table-name>SPECIALTIES
      <column-name>ID
   </sequence-number-column-handle>
</descriptor>

Other Spring Framework examples (source code examples)

Here is a short list of links related to this Spring Framework org.springframework.samples.petclinic.Specialty.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

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.