<p>Is it possible to reach the individual columns of table2 using HQL with a configuration like this?</p>

<pre><code>&lt;hibernate-mapping&gt;
  &lt;class table="table1"&gt;
    &lt;set name="table2" table="table2" lazy="true" cascade="all"&gt;
      &lt;key column="result_id"/&gt;
      &lt;many-to-many column="group_id"/&gt;
    &lt;/set&gt;
  &lt;/class&gt;
&lt;/hibernate-mapping&gt;
</code></pre>

They're just properties of table1's table2 property.
```
```
select t1.table2.property1, t1.table2.property2, ... from table1 as t1
```
```
You might have to join, like so
```
```
select t2.property1, t2.property2, ... 
    from table1 as t1
    inner join t1.table2 as t2
```
```
Here's the relevant part of the
hibernate doc
.