CVS: xdoclet/samples/src/java/test/hibernate30 Contraband.java,1.1,1.2 Mammal.java,1.1,1.2

Paul Galbraith <[email protected]> Tue, 11 Apr 2006 08:02:12 -0700
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Update of /cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate30
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4821/samples/src/java/test/hibernate30

Modified Files:
	Contraband.java Mammal.java 
Log Message:
XDT-1196: support for specifying hibernate mapping files

Index: Contraband.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate30/Contraband.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Contraband.java	2 May 2005 14:36:59 -0000	1.1
--- Contraband.java	11 Apr 2006 15:02:09 -0000	1.2
***************
*** 1,18 ****
! package test.hibernate30;
! 
! /**
!  * @author Administrator
!  *
!  * @hibernate.subclass
!  *  discriminator-value="contraband"
!  */
! public class Contraband extends ImportedProduct {
! 
! 	/**
! 	 * Constructor for Contraband.
! 	 */
! 	public Contraband() {
! 		super();
! 	}
! 
! }
--- 1,20 ----
! package test.hibernate30;
! 
! /**
!  * @author Administrator
!  *
!  * @hibernate.mapping
!  *
!  * @hibernate.subclass
!  *  discriminator-value="contraband"
!  */
! public class Contraband extends ImportedProduct {
! 
! 	/**
! 	 * Constructor for Contraband.
! 	 */
! 	public Contraband() {
! 		super();
! 	}
! 
! }

Index: Mammal.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate30/Mammal.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Mammal.java	29 Sep 2005 22:29:12 -0000	1.1
--- Mammal.java	11 Apr 2006 15:02:09 -0000	1.2
***************
*** 1,4 ****
--- 1,7 ----
  package test.hibernate30;
  
+ /**
+  * @hibernate.mapping file="MammalMapping"
+  */
  public class Mammal extends Animal {
  



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642