Jersey is not showing a list in the JSON output when I retrieve the object using Hibernate. The list within the object is defined like this:
@OneToMany(cascade=CascadeType.ALL)
@OrderColumn
private List<Project> projects = new ArrayList<Project>();
When I retrieve the object (which also contains the projects
list), I get the normal fields (ints and Strings and such), but not this list. When I use the debugger, I can see that the list is indeed there, but Jersey doesn't output it in JSON.