Eclipse will indicate this as "The value of the local variable secondaryTable2 is not used", Much appreciated if hibernate team could eliminate IDE warnings.