If you run a named query on an entity that has a lazy property, but the query doesn’t reference that lazy property, a missing column exception is being thrown for the lazy property column, for the case where the result set mapping doesn’t explicitely include the field results (see testcase LazySqlResultMappingTest.testGetIdWithoutUsingFieldResults()` |