Author: epbernard
Date: 2008-08-14 13:32:44 -0400 (Thu, 14 Aug 2008)
New Revision: 15073
Modified:
annotations/trunk/src/test/org/hibernate/test/annotations/access/BigBed.java
annotations/trunk/src/test/org/hibernate/test/annotations/embedded/Book.java
Log:
JBPAPP-1073 size keyword
Modified: annotations/trunk/src/test/org/hibernate/test/annotations/access/BigBed.java
===================================================================
---
annotations/trunk/src/test/org/hibernate/test/annotations/access/BigBed.java 2008-08-14
16:16:57 UTC (rev 15072)
+++
annotations/trunk/src/test/org/hibernate/test/annotations/access/BigBed.java 2008-08-14
17:32:44 UTC (rev 15073)
@@ -2,11 +2,13 @@
package org.hibernate.test.annotations.access;
import javax.persistence.Entity;
+import javax.persistence.Column;
/**
* @author Emmanuel Bernard
*/
@Entity
public class BigBed extends Bed {
+ @Column(name="bed_size")
public int size;
}
Modified: annotations/trunk/src/test/org/hibernate/test/annotations/embedded/Book.java
===================================================================
---
annotations/trunk/src/test/org/hibernate/test/annotations/embedded/Book.java 2008-08-14
16:16:57 UTC (rev 15072)
+++
annotations/trunk/src/test/org/hibernate/test/annotations/embedded/Book.java 2008-08-14
17:32:44 UTC (rev 15073)
@@ -36,7 +36,7 @@
}
@AttributeOverrides({
- @AttributeOverride(name = "size", column = @Column(table =
"BookSummary")),
+ @AttributeOverride(name = "size", column = @Column(name="summ_size",
table = "BookSummary")),
@AttributeOverride(name = "text", column = @Column(table =
"BookSummary"))
})
public Summary getSummary() {