User: dsundstrom
  Date: 01/07/25 20:21:05

  Modified:    src/etc/conf/default standardjbosscmp-jdbc.xml
  Log:
  Changed default-entity to defaults.
  Moved declaration of datasource and type mapping to defaults to allow overridingof 
the datasource and type mapping on a per bean/relation level.
  
  Revision  Changes    Path
  1.2       +16 -15    jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml
  
  Index: standardjbosscmp-jdbc.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- standardjbosscmp-jdbc.xml 2001/06/24 01:22:32     1.1
  +++ standardjbosscmp-jdbc.xml 2001/07/26 03:21:05     1.2
  @@ -1,18 +1,19 @@
   <?xml version="1.0" encoding="UTF-8"?>
  -<jaws>
  -    <datasource>java:/DefaultDS</datasource>
  -    <type-mapping>Hypersonic SQL</type-mapping>
  -    <debug>true</debug>
  -
  -    <default-entity>
  -       <create-table>true</create-table>
  -       <remove-table>false</remove-table>
  -       <tuned-updates>false</tuned-updates>
  -       <read-only>false</read-only>
  -       <time-out>300</time-out>
  -       <select-for-update>false</select-for-update>
  -    </default-entity>
  -
  +<jbosscmp-jdbc>
  +     
  +     <defaults>
  +             <datasource>java:/DefaultDS</datasource>
  +             <type-mapping>Hypersonic SQL</type-mapping>
  +             <debug>true</debug>
  +             
  +             <create-table>true</create-table>
  +             <remove-table>false</remove-table>
  +             <read-only>false</read-only>
  +             <time-out>300</time-out>
  +             <select-for-update>false</select-for-update>
  +             <preferred-relation-mapping>foreign-key</preferred-relation-mapping>
  +     </defaults>
  +     
       <type-mappings>
           <type-mapping>
               <name>InterBase</name>
  @@ -1245,4 +1246,4 @@
         </type-mapping> 
   
       </type-mappings>
  -</jaws>
  +</jbosscmp-jdbc>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to