Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19453/src/test/java/org/xdoclet/plugin/hibernate/pojo

Modified Files:
        IdbagMapping.hbm.xml IdbagMapping.java Simple.hbm.xml 
        Simple.java 
Log Message:
Changed @hibernate-mapping to @maping, refactored @generator-param

Index: Simple.hbm.xml
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/Simple.hbm.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** Simple.hbm.xml      26 May 2005 06:45:48 -0000      1.15
--- Simple.hbm.xml      2 Jun 2005 14:09:18 -0000       1.16
***************
*** 3,7 ****
  <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 
3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
  
! <hibernate-mapping>
      <typedef name="TypeName1" class="EnumUserType">
          <param name="enumClassName">a.B</param>
--- 3,7 ----
  <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 
3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
  
! <hibernate-mapping auto-import="true" schema="SAMPLE">
      <typedef name="TypeName1" class="EnumUserType">
          <param name="enumClassName">a.B</param>
***************
*** 19,23 ****
              <meta inherit="true" attribute="attribute">blurge</meta>
              <column name="blurge" sql-type="foobar"/>
!             <generator class="native"/>
          </id>
          <property name="fullBlown" length="235" column="foo-bar" 
update="false" unique="true" not-null="true"
--- 19,25 ----
              <meta inherit="true" attribute="attribute">blurge</meta>
              <column name="blurge" sql-type="foobar"/>
!             <generator class="native">
!                 <param name="param">22</param>
!             </generator>
          </id>
          <property name="fullBlown" length="235" column="foo-bar" 
update="false" unique="true" not-null="true"

Index: IdbagMapping.hbm.xml
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/IdbagMapping.hbm.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IdbagMapping.hbm.xml        26 Apr 2005 07:00:17 -0000      1.1
--- IdbagMapping.hbm.xml        2 Jun 2005 14:09:18 -0000       1.2
***************
*** 6,10 ****
          <idbag name="idBag" lazy="true" table="idbag_id" cascade="all">
              <collection-id column="collection_id" type="long">
!                 <generator class="hilo"/>
              </collection-id>
              <key column="key_column"/>
--- 6,12 ----
          <idbag name="idBag" lazy="true" table="idbag_id" cascade="all">
              <collection-id column="collection_id" type="long">
!                 <generator class="hilo">
!                     <param name="a">b</param>
!                 </generator>
              </collection-id>
              <key column="key_column"/>

Index: IdbagMapping.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/IdbagMapping.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IdbagMapping.java   26 Apr 2005 07:00:17 -0000      1.1
--- IdbagMapping.java   2 Jun 2005 14:09:18 -0000       1.2
***************
*** 22,25 ****
--- 22,26 ----
       * @hibernate.idbag lazy="true" table="idbag_id" cascade="all"
       * @hibernate.collection-id generator-class="hilo" type="long" 
column="collection_id"
+      * @hibernate.generator-param name="a" value="b"
       * @hibernate.key column="key_column"
       * @hibernate.many-to-many 
class="org.xdoclet.plugin.hibernate.pojo.ItemArray"

Index: Simple.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/Simple.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** Simple.java 26 May 2005 06:45:48 -0000      1.19
--- Simple.java 2 Jun 2005 14:09:19 -0000       1.20
***************
*** 9,12 ****
--- 9,13 ----
   * test pojo to test primitive properties and ID
   *
+  * @hibernate.mapping auto-import="true" schema="SAMPLE"
   * @hibernate.class table="simple-table" schema="schema" proxy="foo.bar.baz"
   * discriminator-value="blurge" mutable="false"
***************
*** 55,58 ****
--- 56,60 ----
      /**
       * @hibernate.id unsaved-value="yahoo" generator-class="native"
+      * @hibernate.generator-param name="param" value="22"
       * @hibernate.column name="blurge" sql-type="foobar"
       * @hibernate.meta attribute="attribute" inherit="true" value="blurge"



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to