Update of /cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate30
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25449/samples/src/java/test/hibernate30

Modified Files:
        Human.java Order.java Person.java 
Log Message:
small samples updates

Index: Human.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate30/Human.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Human.java  20 May 2005 15:00:19 -0000      1.2
--- Human.java  1 Jun 2005 18:16:56 -0000       1.3
***************
*** 1 ****
! package test.hibernate30;

/**
 * @hibernate.joined-subclass entity-name="HUMANS"
 *                            proxy="test.hibernate30.Human" 
 *                            table="HUMANS" 
 *                            schema="THINGS"
 *                            catalog="CAT"
 *                            subselect="sql expression"
 *                            dynamic-update="true"
 *                            dynamic-insert="true"
 *                            select-before-update="true"
 *                            extends="test.hibernate30.Animal"
 *                            lazy="true"
 *                            abstract="false"
 *                            persister="my.PersisterClass"
 *                            check="sql expression 2"
 *                            batch-size="10"
 *                            node="human"
 * @hibernate.key column="ANIMAL_ID" property-ref="property ref"
 *                foreign-key="FOREIGN_KEY" on-delete="cascade"
 *                not-null="true" update="true" unique="true"
 * @hibernate.column name="KEY_COLUMN_1"
 * @hibernate.column name="KEY_COLUMN_2"
 * @hibernate.meta attribute="meta attribute" value="meta value"
 * @hibernate.subselect "subselect sql expression"
 * @hibernate.synchronize table="SYNC_TABLE_1"
 * @hibernate.synchronize table="SYNC_TABLE_2"
 * @hibernate.loader query-ref="query ref"
 * @hibernate.sql-insert callable="true" value="sql insert"
 * @hibernate.sql-delete callable="true" value="sql delete"
 * @hibernate.sql-update value="sql update"
 */
public class Human extends Animal {

        private Name name;
        private String occupation;

        /**
         * Constructor for Human.
         */
        public Human() {
                super();
        }
        
        /**
         * @hibernate.component
         * Returns the name.
         * @return Name
         */
        public Name getName() {
                return name;
        }

        /**
         * Sets the name.
         * @param name The name to set
         */
        public void setName(Name name) {
                this.name = name;
        }

        /**
         * @hibernate.property
         * Returns the occupation.
         * @return String
         */
        public String getOccupation() {
                return occupation;
        }

        /**
         * Sets the occupation.
         * @param occupation The occupation to set
         */
        public void setOccupation(String occupation) {
                this.occupation = occupation;
        }

}

\ No newline at end of file
--- 1 ----
! package test.hibernate30;

/**
 * @hibernate.joined-subclass entity-name="HUMANS"
 *                            proxy="test.hibernate30.Human" 
 *                            table="HUMANS" 
 *                            schema="THINGS"
 *                            catalog="CAT"
 *                            subselect="sql expression"
 *                            dynamic-update="true"
 *                            dynamic-insert="true"
 *                            select-before-update="true"
 *                            extends="test.hibernate30.Animal"
 *                            lazy="true"
 *                            abstract="false"
 *                            persister="my.PersisterClass"
 *                            check="sql expression 2"
 *                            batch-size="10"
 *                            node="human"
 * @hibernate.key column="ANIMAL_ID" property-ref="property ref"
 *                foreign-key="FOREIGN_KEY" on-delete="cascade"
 *                not-null="true" update="true" unique="true"
 * @hibernate.column name="KEY_COLUMN_1"
 * @hibernate.column name="KEY_COLUMN_2"
 * @hibernate.meta attribute="meta attribute" value="meta value"
 * @hibernate.subselect "subselect sql expression"
 * @hibernate.synchronize table="SYNC_TABLE_1"
 * @hibernate.synchronize table="SYNC_TABLE_2"
 * @hibernate.loader query-ref="query ref"
 * @hibernate.sql-insert callable="true" value="sql insert"
 * @hibernate.sql-delete callable="true" value="sql delete"
 * @hibernate.sql-update value="sql update"
 */
public class Human extends Animal {

        private Name name;
        private String occupation;

        /**
         * Constructor for Human.
         */
        public Human() {
                super();
        }
        
        /**
         * @hibernate.component
         */
        public Name getName() {
                return name;
        }

        public void setName(Name name) {
                this.name = name;
        }

        /**
         * @hibernate.property
         */
        public String getOccupation() {
                return occupation;
        }

        public void setOccupation(String occupation) {
                this.occupation = occupation;
        }
        
}

\ No newline at end of file

Index: Order.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate30/Order.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Order.java  2 May 2005 14:36:59 -0000       1.1
--- Order.java  1 Jun 2005 18:17:07 -0000       1.2
***************
*** 33,38 ****
         *  inverse="true"
         *  cascade="all"
-        * @hibernate.jcs-cache
-        *  usage="read-write"
         * @hibernate.collection-key
         *  column="ORDER_ID"
--- 33,36 ----

Index: Person.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate30/Person.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Person.java 1 Jun 2005 16:08:11 -0000       1.2
--- Person.java 1 Jun 2005 18:17:07 -0000       1.3
***************
*** 23,27 ****
        
        /**
!        * @hibernate.property column="NAME" 
         */
        public String getName() {
--- 23,27 ----
        
        /**
!        * @hibernate.property
         */
        public String getName() {



-------------------------------------------------------
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-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to