Can somebody help me with this problem. I have two table joined like this:
class Splittest { /** * @ORM\ManyToMany(targetEntity="Landing") * @ORM\JoinTable(name="splittest_landings", * joinColumns={@ORM\JoinColumn(name="splittest_id", referencedColumnName="id")}, * inverseJoinColumns={@ORM\JoinColumn(name="landing_id", referencedColumnName="id")} * ) **/ protected $landings; } Now I want to select all splittests with more than one landing. How can I do this in DQL?