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-serv5066/src/test/java/org/xdoclet/plugin/hibernate/pojo

Modified Files:
        ComponentMapping.hbm.xml ComponentMapping.java 
Log Message:
(XDP-62) Fixing bug with component

Index: ComponentMapping.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/ComponentMapping.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** ComponentMapping.java       16 May 2005 17:56:45 -0000      1.9
--- ComponentMapping.java       30 May 2005 14:03:19 -0000      1.10
***************
*** 6,9 ****
--- 6,11 ----
  package org.xdoclet.plugin.hibernate.pojo;
  
+ import java.util.Date;
+ 
  /**
   * test pojo to test primitive properties and ID
***************
*** 15,23 ****
       * @hibernate.component prefix="p"
       */
!     AnotherClass classComponent;
      /**
       * @hibernate.component
       */
!     Simple field;
      /**
       * @hibernate.id generator-class="native"
--- 17,25 ----
       * @hibernate.component prefix="p"
       */
!     public AnotherClass classComponent;
      /**
       * @hibernate.component
       */
!     public Simple field;
      /**
       * @hibernate.id generator-class="native"
***************
*** 29,33 ****
       * @hibernate.meta attribute="blurge" value="bang"
       */
!     Simple getComponent() {
          return field;
      }
--- 31,35 ----
       * @hibernate.meta attribute="blurge" value="bang"
       */
!     public Simple getComponent() {
          return field;
      }
***************
*** 36,43 ****
       * @hibernate.component class="foo.bar.Baz" prefix="prfx_"
       */
!     Simple getPrefixedComponent() {
          return field;
      }
  
      public class AnotherClass {
          /**
--- 38,52 ----
       * @hibernate.component class="foo.bar.Baz" prefix="prfx_"
       */
!     public Simple getPrefixedComponent() {
          return field;
      }
  
+     /**
+      * @hibernate.property column="removed_dttm" not-null="true"
+      */
+     public Date getRemovedDttm() {
+         return null;
+     }
+ 
      public class AnotherClass {
          /**

Index: ComponentMapping.hbm.xml
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/pojo/ComponentMapping.hbm.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ComponentMapping.hbm.xml    13 May 2005 07:50:46 -0000      1.7
--- ComponentMapping.hbm.xml    30 May 2005 14:03:19 -0000      1.8
***************
*** 15,18 ****
--- 15,19 ----
              <property name="foo" column="prfx_col" access="field"/>
          </component>
+         <property name="removedDttm" column="removed_dttm" not-null="true"/>
          <component name="classComponent" access="field">
              <property name="stringField" access="field">



-------------------------------------------------------
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