Multiple relationship on play with siena
问题 I'm creating a an entity with 2 one-to-many relationships. An Event has a User field and a Place field. I'm trying to use the automatic-query, but this code always returns an empty list. User user = new User("mauriziopz@gmail.com","Maurizio Pozzobon","01","hash","facebook"); user.insert(); Place place = new Place("posto","bel posto",null,null); place.insert(); Event e =new Event(user,place, "Festa","Questa è una gran bella festa",null,new Date(),(long) 10,false,null); e.insert(); List<Event>