[hibernate-commits] Hibernate SVN: r15783 - in annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations: entitynonentity and 1 other directories.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Jan 14 11:45:17 EST 2009


Author: jcosta at redhat.com
Date: 2009-01-14 11:45:17 -0500 (Wed, 14 Jan 2009)
New Revision: 15783

Modified:
   annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/entity/Ransom.java
   annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/entitynonentity/Interaction.java
   annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Version.java
Log:
JBPAPP-1072 - Fix to some models, which were using date/number keywords in its name

Modified: annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/entity/Ransom.java
===================================================================
--- annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/entity/Ransom.java	2009-01-14 14:36:52 UTC (rev 15782)
+++ annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/entity/Ransom.java	2009-01-14 16:45:17 UTC (rev 15783)
@@ -2,6 +2,7 @@
 package org.hibernate.test.annotations.entity;
 
 import java.util.Date;
+
 import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
@@ -51,6 +52,7 @@
 		this.amount = amount;
 	}
 
+	@Column(name="xdate")
 	public Date getDate() {
 		return date;
 	}

Modified: annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/entitynonentity/Interaction.java
===================================================================
--- annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/entitynonentity/Interaction.java	2009-01-14 14:36:52 UTC (rev 15782)
+++ annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/entitynonentity/Interaction.java	2009-01-14 16:45:17 UTC (rev 15783)
@@ -1,6 +1,7 @@
 //$Id$
 package org.hibernate.test.annotations.entitynonentity;
 
+import javax.persistence.Column;
 import javax.persistence.MappedSuperclass;
 
 /**
@@ -8,5 +9,6 @@
  */
 @MappedSuperclass
 public class Interaction {
+	@Column(name="xnumber")
 	public int number;
 }

Modified: annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Version.java
===================================================================
--- annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Version.java	2009-01-14 14:36:52 UTC (rev 15782)
+++ annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Version.java	2009-01-14 16:45:17 UTC (rev 15783)
@@ -1,12 +1,12 @@
 //$Id$
 package org.hibernate.test.annotations.indexcoll;
 
+import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
 import javax.persistence.ManyToOne;
 import javax.persistence.Table;
-import javax.persistence.Column;
 
 /**
  * @author Emmanuel Bernard
@@ -38,6 +38,7 @@
 		this.codeName = codeName;
 	}
 
+	@Column(name="xnumber")
 	public String getNumber() {
 		return number;
 	}




More information about the hibernate-commits mailing list