Doctrine QueryBuilder: how to join table from entity with table without entity?

Does anyone know how to join with a QuiryBuilder a table created from a Doctrine entity class with simply a table from a database? I can only join entity tables, but not simple ones. Is this possible?

With the way that doctrine works, I don’t believe you ever actually do joins or queries directly on tables, it’s always done on the doctrine entities which behind the scenes maps to the tables.

I think you either have to create an entity for your table, or revert back to doing a standard SQL query directly.

I was afraid so but was hoping I was wrong…