[hibernate-commits] Hibernate SVN: r15786 - in annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations: manytoone and 1 other directory.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Wed Jan 14 12:01:06 EST 2009
Author: jcosta at redhat.com
Date: 2009-01-14 12:01:05 -0500 (Wed, 14 Jan 2009)
New Revision: 15786
Modified:
annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Alarm.java
annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/manytoone/ForestType.java
Log:
JBPAPP-1074 - shortened the name of the tables
Modified: annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Alarm.java
===================================================================
--- annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Alarm.java 2009-01-14 16:57:05 UTC (rev 15785)
+++ annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Alarm.java 2009-01-14 17:01:05 UTC (rev 15786)
@@ -14,7 +14,7 @@
protected EventInformation eventInfo;
@OneToOne
- @JoinColumns({@JoinColumn(name = "EVENTINFORMATIONT_NOTIFICATIONID",
+ @JoinColumns({@JoinColumn(name = "EVENT_NOTIF",
referencedColumnName = "NOTIFICATIONID")})
public EventInformation getEventInfo() {
return eventInfo;
Modified: annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/manytoone/ForestType.java
===================================================================
--- annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/manytoone/ForestType.java 2009-01-14 16:57:05 UTC (rev 15785)
+++ annotations/branches/v3_2_1_GA_CP/src/test/org/hibernate/test/annotations/manytoone/ForestType.java 2009-01-14 17:01:05 UTC (rev 15786)
@@ -23,7 +23,7 @@
private BiggestForest biggestRepresentative;
@OneToOne
- @JoinTable(name="BiggestRepresentativePerForestType",
+ @JoinTable(name="BiggestRepPerForestType",
joinColumns = @JoinColumn(name="forest_type"),
inverseJoinColumns = @JoinColumn(name="forest")
)
More information about the hibernate-commits
mailing list