[hibernate-commits] Hibernate SVN: r16291 - in annotations/branches/v3_3_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
Thu Apr 9 19:07:59 EDT 2009
Author: gbadner
Date: 2009-04-09 19:07:59 -0400 (Thu, 09 Apr 2009)
New Revision: 16291
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/entity/Ransom.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/entitynonentity/Interaction.java
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Version.java
Log:
JBPAPP-1072 : Annotations - Oracle - "date"/"number" is reserved in Oracle
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/entity/Ransom.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/entity/Ransom.java 2009-04-09 22:14:29 UTC (rev 16290)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/entity/Ransom.java 2009-04-09 23:07:59 UTC (rev 16291)
@@ -50,7 +50,7 @@
public void setAmount(MonetaryAmount amount) {
this.amount = amount;
}
-
+ @Column(name="ransom_date")
public Date getDate() {
return date;
}
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/entitynonentity/Interaction.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/entitynonentity/Interaction.java 2009-04-09 22:14:29 UTC (rev 16290)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/entitynonentity/Interaction.java 2009-04-09 23:07:59 UTC (rev 16291)
@@ -2,11 +2,13 @@
package org.hibernate.test.annotations.entitynonentity;
import javax.persistence.MappedSuperclass;
+import javax.persistence.Column;
/**
* @author Emmanuel Bernard
*/
@MappedSuperclass
public class Interaction {
+ @Column(name="int_nbr")
public int number;
}
Modified: annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Version.java
===================================================================
--- annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Version.java 2009-04-09 22:14:29 UTC (rev 16290)
+++ annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/indexcoll/Version.java 2009-04-09 23:07:59 UTC (rev 16291)
@@ -38,6 +38,7 @@
this.codeName = codeName;
}
+ @Column(name="version_nbr")
public String getNumber() {
return number;
}
More information about the hibernate-commits
mailing list