It is not possible to make the POJO (User) an Entity. So to resolve this problem, I have manually mapped my returned List of Array of Object.
List<User> records = entityManager.createNamedQuery("latestStatusByUser").getResultList();
List<User> userRecords = new ArrayList<User>();
Iterator it = records.iterator( );
while (it.hasNext( )) {
Object[] result = (Object[])it.next(); // Iterating through array object
userRecords.add(new User(result[0], result[1], result[2], result[3], result[4], result[5], result[6], result[7]));
}