Author: gbadner
Date: 2009-04-10 16:21:48 -0400 (Fri, 10 Apr 2009)
New Revision: 16296
Modified:
annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Document.java
Log:
JBPAPP-1073 : added foreign key that was inadvertently removed
Modified:
annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Document.java
===================================================================
---
annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Document.java 2009-04-10
20:20:20 UTC (rev 16295)
+++
annotations/branches/v3_4_0_GA_CP/src/test/org/hibernate/test/annotations/inheritance/joined/Document.java 2009-04-10
20:21:48 UTC (rev 16296)
@@ -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;