We're using OpenJPA 1.2.3. The JPQL query is generated by Querydsl and looks like that:
select exportOrder from ExportOrder exportOrder left join exportOrder.exportConfiguration as exportConfiguration where exportOrder.fp = :a1 order by exportOrder.exportDate desc After this JPQL is executed tons of SQLs including the wrong one are fired gathering the required information. -- View this message in context: http://openjpa.208410.n2.nabble.com/Wrong-SQL-statement-being-generated-tp7470306p7470341.html Sent from the OpenJPA Users mailing list archive at Nabble.com.