So we should probably improve the error handling but in the generics case, you don't need to have this call: ``` nativeQuery.addEntity("u", Unit.class); ``` as it's already taken care of.