formatting work

This commit is contained in:
eugenp
2014-05-16 22:40:53 +03:00
parent 393ca43033
commit c970f3261e
8 changed files with 1 additions and 9 deletions
@@ -17,7 +17,6 @@ import javax.persistence.OrderBy;
public class Bar implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
@@ -25,12 +24,10 @@ public class Bar implements Serializable {
@Column(nullable = false)
private String name;
@OneToMany(mappedBy = "bar", fetch = FetchType.EAGER, cascade = CascadeType.ALL)
@OrderBy("name ASC")
List<Foo> fooList;
public Bar() {
super();
}