Mentions légales du service

Skip to content
Snippets Groups Projects
Commit de9ecc30 authored by Guillaume Thomazon's avatar Guillaume Thomazon
Browse files

Add stepIndex for better display in proxy

git-svn-id: https://scm.gforge.inria.fr/authscm/ycadoret/svn/gazelle/Maven/gazelle-proxy/trunk@34262 356b4b1a-1d2b-0410-8bf1-ffa24008f01e
parent 6dd9b1df
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,7 @@ import javax.persistence.FetchType; ...@@ -9,6 +9,7 @@ import javax.persistence.FetchType;
import javax.persistence.GeneratedValue; import javax.persistence.GeneratedValue;
import javax.persistence.Id; import javax.persistence.Id;
import javax.persistence.OneToMany; import javax.persistence.OneToMany;
import javax.persistence.OrderBy;
import javax.persistence.Table; import javax.persistence.Table;
import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
...@@ -31,6 +32,7 @@ public class TestInstance { ...@@ -31,6 +32,7 @@ public class TestInstance {
private List<Configuration> configurations; private List<Configuration> configurations;
@OneToMany(mappedBy = "testInstance", cascade = CascadeType.ALL, fetch = FetchType.EAGER) @OneToMany(mappedBy = "testInstance", cascade = CascadeType.ALL, fetch = FetchType.EAGER)
@OrderBy("stepIndex")
@XmlElement @XmlElement
private List<Step> steps; private List<Step> steps;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment