Author: gbadner
Date: 2009-04-10 16:20:20 -0400 (Fri, 10 Apr 2009)
New Revision: 16295
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Document.java
Log:
JBPAPP-1073 : added foreign key that was inadvertently removed from
Modified:
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Document.java
===================================================================
---
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Document.java 2009-04-10
20:07:37 UTC (rev 16294)
+++
annotations/branches/v3_3_1_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Document.java 2009-04-10
20:20:20 UTC (rev 16295)
@@ -4,10 +4,13 @@
import javax.persistence.Column;
import javax.persistence.Entity;
+import org.hibernate.annotations.ForeignKey;
+
/**
* @author Emmanuel Bernard
*/
@Entity
+@ForeignKey(name = "FK_DOCU_FILE")
public class Document extends File {
@Column(nullable = false, name="xsize")
private int size;