Test and fix for BUG 420.

This commit is contained in:
Christian Romming
2013-08-28 23:06:37 +02:00
parent f71eac5f1e
commit 1cafea20c6
4 changed files with 81 additions and 1 deletions
@@ -0,0 +1,34 @@
package com.avaje.tests.model.basic;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import com.avaje.ebean.annotation.CacheStrategy;
@CacheStrategy(useBeanCache=true)
@Entity
public class SubSection extends BasicDomain {
private static final long serialVersionUID = 1L;
@ManyToOne
private Section section;
private String title;
public SubSection() {
}
public SubSection(String title) {
this.title = title;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
}